projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use RELAYD_MAX_ADDRS as address array size
[project/odhcpd.git]
/
src
/
router.c
diff --git
a/src/router.c
b/src/router.c
index
f964a82
..
bc22829
100644
(file)
--- 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;