Silence a spurious ARP defense message from previous commit.

This commit is contained in:
Nicholas J. Kain 2017-02-24 06:48:48 -05:00
parent 34a8cd7ad9
commit 7080850f38

View File

@ -643,8 +643,9 @@ skip_to_requesting:
}
}
if (arp_timeout) {
arp_defense_timeout(cs, nowts);
if (!cs->sent_first_announce || !cs->sent_second_announce)
if (cs->sent_first_announce && cs->sent_second_announce)
arp_defense_timeout(cs, nowts);
else
arp_announce_timeout(cs, nowts);
if (!cs->got_router_arp || !cs->got_server_arp) {
int r = arp_gw_query_timeout(cs, nowts);