[ripd] Ignore non-running interfaces in rip status

Vyatta Bug 3999
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 0e3f877..c865ace 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -3544,6 +3544,9 @@
     {
       ri = ifp->info;
 
+      if (!ri->running)
+	continue;
+
       if (ri->enable_network || ri->enable_interface)
 	{
 	  if (ri->ri_send == RI_RIP_UNSPEC)