X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fndp.c;h=2363a9dc568a5bf3134928c901aca027ec7512d5;hp=b4767ea618eebc81f156f0ac77145e22851488d3;hb=f0d78e7ebfa785fd6037e1f1f711d6c382450c3b;hpb=94afe3bf59b7ad6f3f7a4d0de609412b88387586 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); }