From 82f5ee1ead0aa83f83f918abfc3f5071741a56e5 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 7 Apr 2009 15:00:46 -0700 Subject: [ripd] Ignore non-running interfaces in rip status Vyatta Bug 3999 --- ripd/ripd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ripd/ripd.c b/ripd/ripd.c index 0e3f877d..c865acee 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) -- cgit v1.2.1