diff options
author | Ondrej Filip <feela@network.cz> | 1999-04-13 02:46:34 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 1999-04-13 02:46:34 +0200 |
commit | 24eaae9e5d0b154ec47d9d4e13649fb066814ef1 (patch) | |
tree | cbc754912fbf8994ff81b94629e62ddbc60ec03d /proto | |
parent | cb2e8c49706c14ea662df44cd3911c1f9db4b4a8 (diff) | |
download | bird-24eaae9e5d0b154ec47d9d4e13649fb066814ef1.tar bird-24eaae9e5d0b154ec47d9d4e13649fb066814ef1.zip |
Small change to stop using loopback.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/ospf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index a37e2c0..79d29a9 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -66,6 +66,7 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa) DBG(" OSPF: SK_OPEN: failed\n"); return(NULL); } + DBG(" OSPF: SK_OPEN: open\n"); return(mcsk); } else return(NULL); @@ -78,7 +79,11 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa) int is_good_iface(struct proto *p, struct iface *iface) { - return(iface->flags & IF_UP); + if(iface->flags & IF_UP) + { + if(!(iface->flags & IF_IGNORE)) return 1; + } + return 0; } /* Of course, it's NOT true now */ |