projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
786988f
)
Fix from Glenn McGrath.
author
Rob Landley
<rob@landley.net>
Wed, 22 Mar 2006 16:59:12 +0000
(16:59 -0000)
committer
Rob Landley
<rob@landley.net>
Wed, 22 Mar 2006 16:59:12 +0000
(16:59 -0000)
networking/ifupdown.c
patch
|
blob
|
history
diff --git
a/networking/ifupdown.c
b/networking/ifupdown.c
index c3cfcd8b30704db3a5d5d274df5bd6c3e58cd5d8..d4167e9a0f8327b593fee961a6c4eafe26728de1 100644
(file)
--- a/
networking/ifupdown.c
+++ b/
networking/ifupdown.c
@@
-769,7
+769,7
@@
static struct interfaces_file_t *read_interfaces(const char *filename)
llist_t *iface_list;
for (iface_list = defn->ifaces; iface_list; iface_list = iface_list->link) {
struct interface_defn_t *tmp = (struct interface_defn_t *) iface_list->data;
- if ((strcmp(tmp->iface, currif->iface) == 0)
||
+ if ((strcmp(tmp->iface, currif->iface) == 0)
&&
(tmp->address_family == currif->address_family)) {
bb_error_msg("duplicate interface \"%s\"", tmp->iface);
return NULL;