]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: fix typo in error message
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 15 Jun 2017 14:21:58 +0000 (16:21 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 15 Jun 2017 14:21:58 +0000 (16:21 +0200)
... and print the invalid input value

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ospfd/ospf_ri.c

index bd2506d2d43daa1792c1dddde5c6c175b523d59a..6912bc156fb59fa334a400d36ee735755b2ef005 100644 (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;