]> git.puffer.fish Git - matthieu/frr.git/commitdiff
babeld: Cli Fixes
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 14 May 2017 03:36:52 +0000 (23:36 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 14 May 2017 03:36:52 +0000 (23:36 -0400)
1) Cleanup 'router babel' so it's NOSH
2) Fixed missing newlines

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

index 67ad9a4b44633aa1629588a02d2d358603c7a9c7..9bb339d5c8e0e9d00ba67ee0bda60eef82b65228 100644 (file)
@@ -276,7 +276,7 @@ DEFUN (babel_network,
        babel_network_cmd,
        "network IF_OR_ADDR",
        "Enable Babel protocol on specified interface or network.\n"
-       "Interface or address")
+       "Interface or address\n")
 {
     int ret;
     struct prefix p;
index 413d19f30d9eda060c6bcfd71034135fc059153e..1af20c3e649f7db67c9cef3befd74f998454e6cc 100644 (file)
@@ -588,12 +588,11 @@ babel_distribute_update_all_wrapper (struct access_list *notused)
 
 
 /* [Command] */
-DEFUN (router_babel,
-       router_babel_cmd,
-       "router babel",
-       "Enable a routing process\n"
-       "Make Babel instance command\n"
-       "No attributes\n")
+DEFUN_NOSH (router_babel,
+           router_babel_cmd,
+           "router babel",
+           "Enable a routing process\n"
+           "Make Babel instance command\n")
 {
     int ret;