From 91bdb2797fe3b997e0614d4417ea7c39850ee780 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 6 Sep 2016 12:05:55 +0000 Subject: [PATCH] DragonFly needs to ingore RTM_DELADDR as well. --- if-bsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/if-bsd.c b/if-bsd.c index 7322bae0..f2cee0e7 100644 --- a/if-bsd.c +++ b/if-bsd.c @@ -1449,7 +1449,7 @@ if_ifa(struct dhcpcd_ctx *ctx, const struct ifa_msghdr *ifam) bcast.s_addr = sin != NULL && sin->sin_family == AF_INET ? sin->sin_addr.s_addr : INADDR_ANY; -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) /* FreeBSD sends RTM_DELADDR for each assigned address * to an interface just brought down. * This is wrong, because the address still exists. -- 2.47.3