From 1b44ab74adbd63f4ec44e3d75440979ca1baa634 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 11 Dec 2011 21:14:49 +0000 Subject: [PATCH] If an address is whipped out after adding it by something else, don't crash. --- arp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arp.c b/arp.c index 907ac113..1905508e 100644 --- a/arp.c +++ b/arp.c @@ -204,6 +204,8 @@ send_arp_announce(void *arg) struct if_state *state = iface->state; struct timeval tv; + if (state->new == NULL) + return; if (iface->arp_fd == -1) { open_socket(iface, ETHERTYPE_ARP); add_event(iface->arp_fd, handle_arp_packet, iface); -- 2.47.2