Fix VTY documentation error introduced in "bind" VTY port change

In 99ae401e49 we introduced the ability
to specify the TCP port to which the VTY should bind.  However, the VTY
dcumentation wasn't extended accordingly, causing virtually all master
build jobs to fail.

Change-Id: I54fb0ca0d3a884a64a349b22de70f3d9bd1a6d54
This commit is contained in:
Harald Welte 2018-12-23 10:26:19 +01:00
parent 99ae401e49
commit 34d54b2ba7
1 changed files with 2 additions and 1 deletions

View File

@ -1616,7 +1616,8 @@ DEFUN(no_vty_login,
/* vty bind */ /* vty bind */
DEFUN(vty_bind, vty_bind_cmd, "bind A.B.C.D [<0-65535>]", DEFUN(vty_bind, vty_bind_cmd, "bind A.B.C.D [<0-65535>]",
"Accept VTY telnet connections on local interface\n" "Accept VTY telnet connections on local interface\n"
"Local interface IP address (default: " VTY_BIND_ADDR_DEFAULT ")\n") "Local interface IP address (default: " VTY_BIND_ADDR_DEFAULT ")\n"
"Local TCP port number\n")
{ {
talloc_free((void*)vty_bind_addr); talloc_free((void*)vty_bind_addr);
vty_bind_addr = talloc_strdup(tall_vty_ctx, argv[0]); vty_bind_addr = talloc_strdup(tall_vty_ctx, argv[0]);