]> git.puffer.fish Git - matthieu/frr.git/commitdiff
eigrpd: Fix eigrp interface header
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 12 Mar 2017 23:45:02 +0000 (19:45 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 12 Mar 2017 23:45:02 +0000 (19:45 -0400)
The switch over to using the new cli grammar
caused the 'show ip eigrp int' command to not
display a header in some cases.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
eigrpd/eigrp_vty.c

index f5de2bd7144cb12aad0e53096774d564a61791fa..60835ece18041f2e240adbae421c2dace6444bad 100644 (file)
@@ -505,7 +505,7 @@ DEFUN (show_ip_eigrp_interfaces,
       return CMD_SUCCESS;
     }
 
-  if (!argc)
+  if (argc !=3)
     {
         show_ip_eigrp_interface_header (vty, eigrp);
     }