Skip to content

Commit

Permalink
mgmtd: fix missing -n flag and help
Browse files Browse the repository at this point in the history
Only --vrfwnetns works right now, because -n was missing from short ops.
Also add the missing help.

Signed-off-by: Igor Ryzhov <[email protected]>
  • Loading branch information
idryzhov committed Feb 4, 2024
1 parent 3a6c312 commit 46b62af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mgmtd/mgmt_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 46b62af

Please sign in to comment.