summaryrefslogtreecommitdiffstats
path: root/mgmtd
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-02-04 01:46:48 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2024-02-04 21:25:57 +0100
commit7c02567b4aa921c0a09ce326f1c49620e0894372 (patch)
tree8738d063a2b955a20e4c55c8eca3ecf9605bfe0b /mgmtd
parentMerge pull request #15298 from donaldsharp/rcu_bites_the_bitey_thing (diff)
downloadfrr-7c02567b4aa921c0a09ce326f1c49620e0894372.tar.xz
frr-7c02567b4aa921c0a09ce326f1c49620e0894372.zip
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')
-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 5be849b63..0f80377d2 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) {