projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix ifindex detection
[project/odhcpd.git]
/
src
/
config.c
diff --git
a/src/config.c
b/src/config.c
index
98a826f
..
ed80bef
100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-497,7
+497,7
@@
int config_parse_interface(void *data, size_t len, const char *name, bool overwr
}
}
- iface->ignore = (iface->ifindex = if_nametoindex(iface->ifname)) < 0;
+ iface->ignore = (iface->ifindex = if_nametoindex(iface->ifname)) <
=
0;
return 0;
err: