eigrpd: Fix eigrp interface header

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>
This commit is contained in:
Donald Sharp 2017-03-12 19:45:02 -04:00
parent c6972d6601
commit e59a7c1019

View 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);
}