diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-01-21 16:27:17 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-01-21 16:27:17 +0100 |
commit | df023adafeee1bf48fa1e0cce31e7130f8043dae (patch) | |
tree | c3c99a5ec23ce0faa4ab86e5229d53b595725daf /src/router.c | |
parent | c8ac572154981ca833dad92d7ee7aa62b88087cc (diff) |
treewide: use RELAYD_MAX_ADDRS as address array size
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/router.c')
-rw-r--r-- | src/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.c b/src/router.c index f964a82..bc22829 100644 --- a/src/router.c +++ b/src/router.c @@ -247,7 +247,7 @@ static uint64_t send_router_advert(struct interface *iface, const struct in6_add odhcpd_get_mac(iface, adv.lladdr.data); // If not currently shutting down - struct odhcpd_ipaddr addrs[8]; + struct odhcpd_ipaddr addrs[RELAYD_MAX_ADDRS]; ssize_t ipcnt = 0; int64_t minvalid = INT64_MAX; |