From 048558077d1bcd4c4e5a7f45b020ae3a879965e4 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Mon, 23 Jan 2017 16:49:15 +0100 Subject: [PATCH] ndp: code cleanup ia_reconf is only set but nowhere used; so let's remove it ... Signed-off-by: Hans Dedecker --- src/ndp.c | 3 --- src/odhcpd.h | 1 - 2 files changed, 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; -- 2.30.2