From 948a7f2b874d660e68615aaf8ace1506e4361fd1 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 30 Dec 2018 19:25:05 +0000 Subject: [PATCH] dhcp: Don't ARP announce bound addresses when testing --- src/dhcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dhcp.c b/src/dhcp.c index 1e9fe186..d8e71f36 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -2631,6 +2631,7 @@ dhcp_reboot(struct interface *ifp) * interface gets the reply. */ ia = ipv4_iffindaddr(ifp, &state->lease.addr, NULL); if (ia != NULL && + !(ifp->ctx->options & DHCPCD_TEST) && #ifdef IN_IFF_NOTUSEABLE !(ia->addr_flags & IN_IFF_NOTUSEABLE) && #endif -- 2.47.2