summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-01-23 16:49:15 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-01-23 16:51:30 +0100
commit048558077d1bcd4c4e5a7f45b020ae3a879965e4 (patch)
tree16cdc2abab483d02fe31f33366591be487280176 /src
parentc5040fea540479b731b040986a9c3a62e34afc37 (diff)
ndp: code cleanup
ia_reconf is only set but nowhere used; so let's remove it ... Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/ndp.c3
-rw-r--r--src/odhcpd.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/ndp.c b/src/ndp.c
index d2fbe07..30ebaf4 100644
--- a/src/ndp.c
+++ b/src/ndp.c
@@ -479,9 +479,6 @@ static void handle_rtnetlink(_unused void *addr, void *data, size_t len,
if (is_addr) {
check_updates(iface);
- if (iface->dhcpv6 == RELAYD_SERVER)
- iface->ia_reconf = true;
-
if (iface->ndp == RELAYD_RELAY && iface->master) {
// Replay address changes on all slave interfaces
nh->nlmsg_flags = NLM_F_REQUEST;
diff --git a/src/odhcpd.h b/src/odhcpd.h
index cbeaaf8..043360b 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -121,7 +121,6 @@ struct interface {
struct list_head ia_assignments;
struct odhcpd_ipaddr ia_addr[RELAYD_MAX_ADDRS];
size_t ia_addr_len;
- bool ia_reconf;
// DHCPv4
struct odhcpd_event dhcpv6_event;