From 250e584c0383b5d9b57d50cf2041848fc6db25b9 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 15 Nov 2023 22:56:26 +1100 Subject: [PATCH] Routed Netmails should still have the netmail dest address, not the hub's address --- app/Models/Netmail.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Models/Netmail.php b/app/Models/Netmail.php index 8cb519c..6194dbc 100644 --- a/app/Models/Netmail.php +++ b/app/Models/Netmail.php @@ -172,11 +172,11 @@ final class Netmail extends Model implements Packet try { $o->header = [ 'onode' => $this->fftn->node_id, - 'dnode' => $ao->node_id, + 'dnode' => $this->tftn->node_id, 'onet' => $this->fftn->host_id, - 'dnet' => $ao->host_id, + 'dnet' => $this->tftn->host_id, 'opoint' => $this->fftn->point_id, - 'dpoint' => $ao->point_id, + 'dpoint' => $this->tftn->point_id, 'flags' => 0, 'cost' => 0, 'date'=>$this->datetime->format('d M y H:i:s'),