From 6a8dfad25ca758c2f6c81b249ce2b7f2a5f90715 Mon Sep 17 00:00:00 2001 From: "Gerald (Jerry) Carter" Date: Sun, 21 Oct 2007 13:44:29 -0500 Subject: Fix compile error caused by unknown variable. (This used to be commit dfef16ac4318b460a5bd29475eb395c1905a5cd8) --- source3/lib/interfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/interfaces.c') 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; } -- cgit