]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Interface dummy is too strange for me... but psst, that's secret.
authorPavel Machek <pavel@ucw.cz>
Tue, 16 May 2000 15:05:05 +0000 (15:05 +0000)
committerPavel Machek <pavel@ucw.cz>
Tue, 16 May 2000 15:05:05 +0000 (15:05 +0000)
proto/rip/rip.c

index 1ac0eff8fddccf8ee4a099b453b1475c3c205705..a7f3e10ecb6a477bc14b9a92133dd4f8a7559f9c 100644 (file)
@@ -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) {