ospfd: fix typo in error message

... and print the invalid input value

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
David Lamparter 2017-06-15 16:21:58 +02:00
parent 03793b7abb
commit 68fc8f1f26

View File

@ -1194,7 +1194,8 @@ DEFUN (router_info,
{
if (!inet_aton (area, &OspfRI.area_id))
{
vty_out (vty, "Please specifya valid Area ID%s", VTY_NEWLINE);
vty_out (vty, "%% specified Area ID %s is invalid%s",
area, VTY_NEWLINE);
return CMD_WARNING;
}
scope = OSPF_OPAQUE_AREA_LSA;