summaryrefslogtreecommitdiff
path: root/mgmtd/mgmt_main.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-02-04 02:46:48 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2024-02-04 22:25:57 +0200
commit7c02567b4aa921c0a09ce326f1c49620e0894372 (patch)
tree8738d063a2b955a20e4c55c8eca3ecf9605bfe0b /mgmtd/mgmt_main.c
parent273356eac5d5588bfb1636787cb570a11576af37 (diff)
mgmtd: fix missing -n flag and help
Only --vrfwnetns works right now, because -n was missing from short ops. Also add the missing help. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'mgmtd/mgmt_main.c')
-rw-r--r--mgmtd/mgmt_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mgmtd/mgmt_main.c b/mgmtd/mgmt_main.c
index 5be849b63c..0f80377d28 100644
--- a/mgmtd/mgmt_main.c
+++ b/mgmtd/mgmt_main.c
@@ -230,8 +230,9 @@ int main(int argc, char **argv)
frr_preinit(&mgmtd_di, argc, argv);
frr_opt_add(
- "s:" DEPRECATED_OPTIONS, longopts,
- " -s, --socket_size Set MGMTD peer socket send buffer size\n");
+ "s:n" DEPRECATED_OPTIONS, longopts,
+ " -s, --socket_size Set MGMTD peer socket send buffer size\n"
+ " -n, --vrfwnetns Use NetNS as VRF backend\n");
/* Command line argument treatment. */
while (1) {