summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-09 13:23:10 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-09 13:23:10 -0800
commit1330a02df4e0eaa9bdfb8ab841e5dd2130132093 (patch)
treec53db4b698ffc1967dc835dac4acbc872556f905 /lib
parent36c9799e43c48394008c770ba283387a63c8e6af (diff)
downloadquagga-1330a02df4e0eaa9bdfb8ab841e5dd2130132093.tar.bz2
quagga-1330a02df4e0eaa9bdfb8ab841e5dd2130132093.tar.xz
whitespace fix
Diffstat (limited to 'lib')
-rw-r--r--lib/if.c2
-rw-r--r--lib/if.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/if.c b/lib/if.c
index f15242a2..19daf75b 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -135,7 +135,7 @@ if_create (const char *name, int namelen)
ifp->connected = list_new ();
ifp->connected->del = (void (*) (void *)) connected_free;
-
+
if (if_master.if_new_hook)
(*if_master.if_new_hook) (ifp);
diff --git a/lib/if.h b/lib/if.h
index 9a250906..ed79cabf 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -277,7 +277,7 @@ static inline int
if_is_operative (const struct interface *ifp)
{
return ((ifp->flags & IFF_UP) &&
- (ifp->flags & IFF_RUNNING ||
+ ((ifp->flags & IFF_RUNNING) ||
!CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_LINKDETECTION)));
}