must be a null term there
This commit is contained in:
+2
-2
@@ -121,8 +121,8 @@ class CoreParser {
|
||||
if( strlen($payload) > CoreProtocol::PUB_KEY_SIZE + 2 ) {
|
||||
$m->type = ord($payload[33]);
|
||||
$m->flags = ord($payload[34]);
|
||||
$m->out_path = self::formatPublicKey(substr($payload, 35, CoreProtocol::MAX_PATH_SIZE));
|
||||
$m->name = substr($payload, 99, 32);
|
||||
$m->out_path = self::formatPublicKey(substr($payload, 35, CoreProtocol::MAX_PATH_SIZE+1));
|
||||
$m->name = substr($payload, 100, 32);
|
||||
|
||||
if( strlen($payload) > 204 ) {
|
||||
$m->last_advert_time = unpack('V', substr($payload, 203, 4))[1];
|
||||
|
||||
Reference in New Issue
Block a user