summaryrefslogtreecommitdiff
path: root/proto/rip/rip.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-29 19:56:32 +0000
committerMartin Mares <mj@ucw.cz>1999-03-29 19:56:32 +0000
commit6c02d83f4d225abc03f99fb80299f1ba10ac174a (patch)
tree4e9943b1c661d9f0043837bfcc8c8eb412114890 /proto/rip/rip.c
parentf5c687f7911501ac1efd8163fade4862dc65456c (diff)
Added FIXME: If a strange interface appears, ignore it instead of only
writing an error message...
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r--proto/rip/rip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 060446f7..e345de6c 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -503,6 +503,7 @@ new_iface(struct proto *p, struct iface *new, unsigned long flags)
if (!ipa_nonzero(rif->sock->daddr))
log( L_WARN "RIP: interface %s is too strange for me", rif->iface ? rif->iface->name : "(dummy)" );
+ /* FIXME: Should ignore the interface instead of blindly trying to bind on it */
if (sk_open(rif->sock)<0)
die( "RIP/%s: could not listen on %s", P_NAME, rif->iface ? rif->iface->name : "(dummy)" );