diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-22 16:59:12 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-22 16:59:12 +0000 |
commit | 258c6bc13c54e99b3464e632835fe752bc3936af (patch) | |
tree | 9efb4b6e955a06945fb003f2ff4ab0257a0fa6fe /networking | |
parent | 1c98fc521fa01e98ebf8a2d57f9a4b5709cd6cf1 (diff) | |
download | busybox-w32-258c6bc13c54e99b3464e632835fe752bc3936af.tar.gz busybox-w32-258c6bc13c54e99b3464e632835fe752bc3936af.tar.bz2 busybox-w32-258c6bc13c54e99b3464e632835fe752bc3936af.zip |
Fix from Glenn McGrath.
git-svn-id: svn://busybox.net/trunk/busybox@14603 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifupdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index c3cfcd8b3..d4167e9a0 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -769,7 +769,7 @@ static struct interfaces_file_t *read_interfaces(const char *filename) | |||
769 | llist_t *iface_list; | 769 | llist_t *iface_list; |
770 | for (iface_list = defn->ifaces; iface_list; iface_list = iface_list->link) { | 770 | for (iface_list = defn->ifaces; iface_list; iface_list = iface_list->link) { |
771 | struct interface_defn_t *tmp = (struct interface_defn_t *) iface_list->data; | 771 | struct interface_defn_t *tmp = (struct interface_defn_t *) iface_list->data; |
772 | if ((strcmp(tmp->iface, currif->iface) == 0) || | 772 | if ((strcmp(tmp->iface, currif->iface) == 0) && |
773 | (tmp->address_family == currif->address_family)) { | 773 | (tmp->address_family == currif->address_family)) { |
774 | bb_error_msg("duplicate interface \"%s\"", tmp->iface); | 774 | bb_error_msg("duplicate interface \"%s\"", tmp->iface); |
775 | return NULL; | 775 | return NULL; |