diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-07-04 11:14:54 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-07-04 11:15:44 +0200 |
commit | f0d78e7ebfa785fd6037e1f1f711d6c382450c3b (patch) | |
tree | 385d808ab4d0a96c2a3e62816997454a57ce5a3b | |
parent | 94afe3bf59b7ad6f3f7a4d0de609412b88387586 (diff) |
ndp: optimize check_addr6_updates code
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r-- | src/ndp.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); } |