projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Complete managed PD/CER-ID support
[project/odhcpd.git]
/
src
/
odhcpd.c
diff --git
a/src/odhcpd.c
b/src/odhcpd.c
index
25a6047
..
bf9f16d
100644
(file)
--- a/
src/odhcpd.c
+++ b/
src/odhcpd.c
@@
-217,7
+217,7
@@
ssize_t odhcpd_get_interface_addresses(int ifindex,
struct ifaddrmsg *ifa = NLMSG_DATA(nhm);
if (ifa->ifa_scope != RT_SCOPE_UNIVERSE ||
-
ifa->ifa_index != (unsigned)ifindex
)
+
(ifindex && ifa->ifa_index != (unsigned)ifindex)
)
continue;
struct rtattr *rta = (struct rtattr*)&ifa[1];