projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0903c81
)
fix ifindex detection
author
Steven Barth
<steven@midlink.org>
Fri, 3 Jan 2014 09:16:42 +0000
(10:16 +0100)
committer
Steven Barth
<steven@midlink.org>
Fri, 3 Jan 2014 09:16:42 +0000
(10:16 +0100)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index 98a826fc3b70a6a1895c20cafa2382dcb48cf0ba..ed80befd735f9eba711145d258be8527fbe947a2 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: