]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: replace AFI_ETHER reference with AFI_L2VPN ref
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 3 Feb 2017 07:00:58 +0000 (08:00 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:59:00 +0000 (13:59 +0100)
The introduction of AFI_L2VPN prefix makes usage of AFI_ETHER deprecated
and is of no usage currently. The former replaces the latter one.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_route.h
bgpd/bgp_vty.c

index da015feb21625cf9cb25651cc97c1b6cb3555870..3cd4dd59a0ba5ee8ca78e4e62dee256fc01660d6 100644 (file)
@@ -94,7 +94,7 @@ struct bgp_info_extra
            struct in6_addr addr6;
          } un;                 /* cached un address */
          time_t create_time;
-         struct prefix aux_prefix; /* AFI_ETHER: the IP addr, if family set */
+         struct prefix aux_prefix; /* AFI_L2VPN: the IP addr, if family set */
       } import;
 
   } vnc;
index 896518fca3dab13a5df50b7e6b99c7f7d0804b86..aa8c3145f98d1b1283de81786afbd42953beeee1 100644 (file)
@@ -6690,7 +6690,7 @@ bgp_show_summary_afi_safi (struct vty *vty, struct bgp *bgp, int afi, int safi,
         }
       afi++;
       if (! afi_wildcard ||
-          afi == AFI_ETHER)       /* special case, not handled yet */
+          afi == AFI_L2VPN)       /* special case, not handled yet */
         afi = AFI_MAX;
     }