From 5b846de6a6361b3c8aac84438e7b332c972f2a08 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Tue, 16 May 2000 15:05:05 +0000 Subject: Interface dummy is too strange for me... but psst, that's secret. --- proto/rip/rip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto/rip/rip.c') diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 1ac0eff..a7f3e10 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) { -- cgit v1.2.3