From: Stephen Hemminger Date: Tue, 7 Apr 2009 22:00:46 +0000 (-0700) Subject: [ripd] Ignore non-running interfaces in rip status X-Git-Tag: frr-2.0-rc1~2308 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=82f5ee1ead0aa83f83f918abfc3f5071741a56e5;p=matthieu%2Ffrr.git [ripd] Ignore non-running interfaces in rip status Vyatta Bug 3999 --- diff --git a/ripd/ripd.c b/ripd/ripd.c index 0e3f877d6b..c865acee31 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -3544,6 +3544,9 @@ DEFUN (show_ip_rip_status, { ri = ifp->info; + if (!ri->running) + continue; + if (ri->enable_network || ri->enable_interface) { if (ri->ri_send == RI_RIP_UNSPEC)