summaryrefslogtreecommitdiff
path: root/proto/rip
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-16 15:05:05 +0000
committerPavel Machek <pavel@ucw.cz>2000-05-16 15:05:05 +0000
commit5b846de6a6361b3c8aac84438e7b332c972f2a08 (patch)
tree96c26ede55f39f7ee3b6f56e70b6e2c6ae95527d /proto/rip
parentbe77b6890c5f6b956553c0432554e5912a30528f (diff)
Interface dummy is too strange for me... but psst, that's secret.
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/rip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 1ac0eff8..a7f3e10e 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -641,7 +641,8 @@ new_iface(struct proto *p, struct iface *new, unsigned long flags, struct iface_
}
if (!ipa_nonzero(rif->sock->daddr)) {
- log( L_WARN "%s: interface %s is too strange for me", P_NAME, rif->iface ? rif->iface->name : "(dummy)" );
+ if (rif->iface)
+ log( L_WARN "%s: interface %s is too strange for me", P_NAME, rif->iface->name );
} else
if (!(rif->mode & IM_NOLISTEN))
if (sk_open(rif->sock)<0) {