summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-07-08 21:16:47 -0300
committerRenato Westphal <renato@opensourcerouting.org>2018-08-13 18:59:31 -0300
commit34c462745724f4c7693a8dcc17fef70f8dac7dbb (patch)
treeb3e4f42166d66b92922fe172b34ebfd9789ef292 /zebra/zebra_rib.c
parent1e9d11834535c506af8ba426f5c9c580e071313a (diff)
lib, vtysh: fix inconsistent VRF commands in vtysh
* Only zebra and pimd call vrf_cmd_init(), so these are the only daemons that should receive VRF commands from vtysh; * "netns NAME" and "no netns NAME" are available only in zebra, write custom DEFSHs in vtysh to make it aware of that; * Remove the "no vrf NAME" definition from vtysh.c and expose the original command to vtysh by converting the DEFUN_NOSH to a simple DEFUN. This command doesn't change the vty node so there's no need to special case it. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_rib.c')
0 files changed, 0 insertions, 0 deletions