[ripd] Ignore non-running interfaces in rip status

Vyatta Bug 3999
This commit is contained in:
Stephen Hemminger 2009-04-07 15:00:46 -07:00 committed by Paul Jakma
parent 94fc1dd41c
commit 82f5ee1ead

View File

@ -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)