summaryrefslogtreecommitdiff
path: root/proto/rip/rip.c
diff options
context:
space:
mode:
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)" );