summaryrefslogtreecommitdiffhomepage
path: root/src/ndp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ndp.c')
-rw-r--r--src/ndp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ndp.c b/src/ndp.c
index b4767ea..2363a9d 100644
--- a/src/ndp.c
+++ b/src/ndp.c
@@ -347,10 +347,8 @@ static void check_addr6_updates(struct interface *iface)
iface->ia_addr = addr;
iface->ia_addr_len = len;
- if (change)
- dhcpv6_ia_postupdate(iface);
-
if (change) {
+ dhcpv6_ia_postupdate(iface);
syslog(LOG_INFO, "Raising SIGUSR1 due to address change on %s", iface->ifname);
raise(SIGUSR1);
}