mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
remove duplicate check against chaddr.
This commit is contained in:
parent
8de331def0
commit
7b86134032
@ -440,9 +440,6 @@ int main(int argc, char *argv[])
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* Ignore packets that aren't for us */
|
/* Ignore packets that aren't for us */
|
||||||
if (memcmp(client_config.arp,packet.chaddr,6))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (memcmp(packet.chaddr, client_config.arp, 6)) {
|
if (memcmp(packet.chaddr, client_config.arp, 6)) {
|
||||||
DEBUG(LOG_INFO, "packet does not have our chaddr -- ignoring");
|
DEBUG(LOG_INFO, "packet does not have our chaddr -- ignoring");
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user