Closed vanvught closed 1 year ago
There is an offset issue when there are no Questions returned.
https://github.com/angryip/ipscan/blob/d9681b3a1e36a7d1a8faade17ebd5659a969c7ad/src/net/azib/ipscan/util/MDNSResolver.java#L73
When numQueries == 0 , then theoffset = 2 + 2 + 2 + 4 + 2; => 12 + 12 => 24
numQueries == 0
offset = 2 + 2 + 2 + 4 + 2
Good result:
@nuc-i7:~$ avahi-resolve-address 192.168.2.147 192.168.2.147 allwinner_2B0913.local @nuc-i7:~$
As legacy here is used. This is not a bug.
There is an offset issue when there are no Questions returned.
https://github.com/angryip/ipscan/blob/d9681b3a1e36a7d1a8faade17ebd5659a969c7ad/src/net/azib/ipscan/util/MDNSResolver.java#L73
When
numQueries == 0
, then theoffset = 2 + 2 + 2 + 4 + 2
; => 12 + 12 => 24Good result: