]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_vty.c
bgpd: vpn-vrf-leaking new CLI: address Vivek's review comments + crash fix
authorG. Paul Ziemba <paulz@labn.net>
Sun, 18 Mar 2018 22:08:45 +0000 (15:08 -0700)
committerG. Paul Ziemba <paulz@labn.net>
Tue, 20 Mar 2018 05:14:42 +0000 (22:14 -0700)
commitd555f3e904439620d5d05ae3b314a74c0516314a
tree055bcf1d7f4057a5cb9f3c3e5f565140c66a0c0d
parentb9c7bc5ab0ee57f4052b625c0e76663f50c1249f
bgpd: vpn-vrf-leaking new CLI: address Vivek's review comments + crash fix

    - vpn_leak_to_vpn_active(): check instance type
    - vpn_leak_prechange(): qualify with test for active
    - vpn_leak_postchange(): remove duplicated call to
vpn_leak_from_vrf_update_all()

    - bgp_vty.c: Avoid null-pointer dereference for command "no rt vpn import"

Signed-off-by: G. Paul Ziemba <paulz@labn.net>
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h
bgpd/bgp_vty.c