]> git.proxmox.com Git - mirror_frr.git/commit
lib: privileges are granted to vty netns command
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 13 Mar 2018 14:26:03 +0000 (15:26 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 13 Mar 2018 15:32:58 +0000 (16:32 +0100)
commit3bc34908e86ee01f8eb4f8d39a4075c865d56370
tree3726ca16f4f2f34b3b22f307fd0d3cadf9793dac
parent1c9d288e496d0fc20baeadd2e792e927a6f50312
lib: privileges are granted to vty netns command

Vty commands that link netns context to a vrf is requiring some
privileges. The change consists in retrieving the privileges at the
vrf_cmd_init() called by the relevant daemon. Then use it.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/vrf.c
lib/vrf.h
pimd/pim_instance.c
zebra/zebra_vrf.c