Small change to stop using loopback.

This commit is contained in:
Ondrej Filip 1999-04-13 00:46:34 +00:00
parent cb2e8c4970
commit 24eaae9e5d

View file

@ -66,6 +66,7 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa)
DBG(" OSPF: SK_OPEN: failed\n"); DBG(" OSPF: SK_OPEN: failed\n");
return(NULL); return(NULL);
} }
DBG(" OSPF: SK_OPEN: open\n");
return(mcsk); return(mcsk);
} }
else return(NULL); else return(NULL);
@ -78,7 +79,11 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa)
int int
is_good_iface(struct proto *p, struct iface *iface) 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 */ /* Of course, it's NOT true now */