summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-04-13 00:46:34 +0000
committerOndrej Filip <feela@network.cz>1999-04-13 00:46:34 +0000
commit24eaae9e5d0b154ec47d9d4e13649fb066814ef1 (patch)
treecbc754912fbf8994ff81b94629e62ddbc60ec03d /proto
parentcb2e8c49706c14ea662df44cd3911c1f9db4b4a8 (diff)
Small change to stop using loopback.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/ospf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index a37e2c0b..79d29a99 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 */