diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-14 05:36:52 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-14 05:36:52 +0200 |
commit | f84d11d1cd499e88ed098daa8fabbd9179b9e8ef (patch) | |
tree | 7722edd1fbe9568fcd5d8605504931debfc2bf0b /babeld | |
parent | babeld: Get main to work correctly (diff) | |
download | frr-f84d11d1cd499e88ed098daa8fabbd9179b9e8ef.tar.xz frr-f84d11d1cd499e88ed098daa8fabbd9179b9e8ef.zip |
babeld: Cli Fixes
1) Cleanup 'router babel' so it's NOSH
2) Fixed missing newlines
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld')
-rw-r--r-- | babeld/babel_interface.c | 2 | ||||
-rw-r--r-- | babeld/babeld.c | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c index 67ad9a4b4..9bb339d5c 100644 --- a/babeld/babel_interface.c +++ b/babeld/babel_interface.c @@ -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; diff --git a/babeld/babeld.c b/babeld/babeld.c index 413d19f30..1af20c3e6 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -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; |