summaryrefslogtreecommitdiffhomepage
path: root/src/config.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-06-28 15:40:05 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-06-29 12:05:09 +0200
commit5dad295c283a8ab8101d58ec3d8ead49a3a62a19 (patch)
treed9cf823a094f467d8aa80314c69f66869ced75b9 /src/config.c
parent3e4c8ad1a33abfb5f0e5886353ca4e3f2dbfedc1 (diff)
treewide: rework code to get rid of fixed IPv6 address arrays
Rework code to get rid of RELAYD_MAX_PREFIXES and RELAYD_MAX_ADDRS by using dynamic IPv6 address array allocation. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 9ce20ef..1276b6f 100644
--- a/src/config.c
+++ b/src/config.c
@@ -237,6 +237,7 @@ static void close_interface(struct interface *iface)
setup_dhcpv4_interface(iface, false);
clean_interface(iface);
+ free(iface->ia_addr);
free(iface->ifname);
free(iface);
}