summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald (Jerry) Carter <jerry@samba.org>2007-10-21 13:44:29 -0500
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-21 13:44:29 -0500
commit6a8dfad25ca758c2f6c81b249ce2b7f2a5f90715 (patch)
tree8c011f2787b47a439f59973f3f324f04142a151d /source3
parent6a1a83a85045f78162cbc8840c21dfe968e5cace (diff)
downloadsamba-6a8dfad25ca758c2f6c81b249ce2b7f2a5f90715.tar.gz
samba-6a8dfad25ca758c2f6c81b249ce2b7f2a5f90715.tar.bz2
samba-6a8dfad25ca758c2f6c81b249ce2b7f2a5f90715.zip
Fix compile error caused by unknown variable.
(This used to be commit dfef16ac4318b460a5bd29475eb395c1905a5cd8)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/interfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/interfaces.c b/source3/lib/interfaces.c
index 3b15e3e87b..ae6c972d24 100644
--- a/source3/lib/interfaces.c
+++ b/source3/lib/interfaces.c
@@ -210,7 +210,7 @@ static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces)
ifaces[total].flags = ifr[i].ifr_flags;
- if (!(flags & IFF_UP)) {
+ if (!(ifaces[total].flags & IFF_UP)) {
continue;
}