diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-13 23:36:52 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-13 23:36:52 -0400 |
| commit | f84d11d1cd499e88ed098daa8fabbd9179b9e8ef (patch) | |
| tree | 7722edd1fbe9568fcd5d8605504931debfc2bf0b | |
| parent | 900b8c5802c0afe3925ea4105c98640a85812fc0 (diff) | |
babeld: Cli Fixes
1) Cleanup 'router babel' so it's NOSH
2) Fixed missing newlines
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -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 67ad9a4b44..9bb339d5c8 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 413d19f30d..1af20c3e64 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; |
