Fix for when TZUTC is gibberish, and use file hexdump in pkt debug

This commit is contained in:
Deon George 2023-01-01 12:02:28 +11:00
parent 0e7b93abd1
commit 6c97eb2d81
2 changed files with 2 additions and 2 deletions

View File

@ -839,7 +839,7 @@ class Message extends FTNBase
}
}
elseif ($t = $this->kludge('TZUTC: ',$kl))
elseif (($t = $this->kludge('TZUTC: ',$kl)) && is_numeric($t))
$this->tzutc = $t;
elseif ($t = $this->kludge('MSGID: ',$kl))

View File

@ -161,7 +161,7 @@
<div id="collapse_hex_{{ $loop->parent->parent->index }}" class="accordion-collapse collapse" aria-labelledby="packetdebug_{{ $loop->parent->parent->index }}" data-bs-parent="#accordion_file_{{ $loop->parent->parent->index }}">
<div class="accordion-body">
<pre>
{{ hex_dump($msg) }}
{{ $hexdump }}
</pre>
</div>
</div>