]> git.puffer.fish Git - mirror/frr.git/commitdiff
Merge pull request #2067 from LabNConsulting/working/master/bgp-vpn-leak-new-label...
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 16 Apr 2018 14:45:32 +0000 (10:45 -0400)
committerGitHub <noreply@github.com>
Mon, 16 Apr 2018 14:45:32 +0000 (10:45 -0400)
bgpd: bugfix vpn-vrf leak: consider route changed if labels change

1  2 
bgpd/bgp_mplsvpn.c

index 4927b533caa6160433feac377c7d70a50734653a,6d8f4d93c4476832bbf5fcc0e2f7e30087e57acf..08aaed6577438899f461c7ef2952b99601a97d5e
@@@ -948,10 -936,8 +995,10 @@@ static void vpn_leak_to_vrf_update_onev
        const char *debugmsg;
        struct prefix nexthop_orig;
        mpls_label_t *pLabels = NULL;
-       int num_labels = 0;
+       uint32_t num_labels = 0;
        int nexthop_self_flag = 1;
 +      struct bgp_info *bi_ultimate = NULL;
 +      int origin_local = 0;
  
        int debug = BGP_DEBUG(vpn, VPN_LEAK_TO_VRF);