From 6c02d83f4d225abc03f99fb80299f1ba10ac174a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 29 Mar 1999 19:56:32 +0000 Subject: [PATCH] Added FIXME: If a strange interface appears, ignore it instead of only writing an error message... --- proto/rip/rip.c | 1 + 1 file changed, 1 insertion(+) 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)" );