diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-04-07 15:00:46 -0700 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-06-18 20:18:27 +0100 |
commit | 82f5ee1ead0aa83f83f918abfc3f5071741a56e5 (patch) | |
tree | bea94b32379b8f1b3f69db6d0c3404ccb115c7fa /ripd | |
parent | 94fc1dd41cd0267acb9c67dd3dcf1e64ef8713af (diff) |
[ripd] Ignore non-running interfaces in rip status
Vyatta Bug 3999
Diffstat (limited to 'ripd')
-rw-r--r-- | ripd/ripd.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |