diff --git a/app/Classes/FTN/Packet/FSC48.php b/app/Classes/FTN/Packet/FSC48.php index 09fbe3b..e772fbe 100644 --- a/app/Classes/FTN/Packet/FSC48.php +++ b/app/Classes/FTN/Packet/FSC48.php @@ -55,6 +55,10 @@ final class FSC48 extends Packet case 'capability': return sprintf('%016b',Arr::get($this->header,'capword')); + case 'fn': + // If the packet is from a point, then onet will be 0xffff + return ($x=Arr::get($this->header,'onet')) === 0xffff ? Arr::get($this->header,'auxnet') : $x; + default: return parent::__get($key); }