summaryrefslogtreecommitdiffstats
path: root/proto/rip
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-29 21:56:32 +0200
committerMartin Mares <mj@ucw.cz>1999-03-29 21:56:32 +0200
commit6c02d83f4d225abc03f99fb80299f1ba10ac174a (patch)
tree4e9943b1c661d9f0043837bfcc8c8eb412114890 /proto/rip
parentf5c687f7911501ac1efd8163fade4862dc65456c (diff)
downloadbird-6c02d83f4d225abc03f99fb80299f1ba10ac174a.tar
bird-6c02d83f4d225abc03f99fb80299f1ba10ac174a.zip
Added FIXME: If a strange interface appears, ignore it instead of only
writing an error message...
Diffstat (limited to 'proto/rip')
-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 060446f..e345de6 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)" );