]> git.puffer.fish Git - mirror/frr.git/commit
zebra: keep one command to handle vty with/without table param 1976/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 17 May 2018 13:34:51 +0000 (15:34 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 1 Jun 2018 13:24:13 +0000 (15:24 +0200)
commit00384b5fbd0cfd3b2087c50bf07fb6570571b85f
tree310caf45b3c7bd3c681978ca17a80b059e37f414
parentb73823efa17535937b977d7c269d9d4bf540e13d
zebra: keep one command to handle vty with/without table param

That fix is a workaround from a vtysh limitation.
Because table identifier should be accessible in configuration only for
vrf netns backends, there was a need to differentiate the vty commands.
Unfortunately, vtysh parses the two commands without knowing which
command has really been installed.
Using one single vty command will avoid having this issue in vtysh.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_vty.c