summaryrefslogtreecommitdiffhomepage
path: root/packet/routefamily_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'packet/routefamily_string.go')
-rw-r--r--packet/routefamily_string.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/packet/routefamily_string.go b/packet/routefamily_string.go
index 9f61c5e5..8d718e1d 100644
--- a/packet/routefamily_string.go
+++ b/packet/routefamily_string.go
@@ -1,4 +1,4 @@
-// generated by stringer -type=RouteFamily bgp.go validate.go; DO NOT EDIT
+// generated by stringer -type=RouteFamily bgp.go validate.go constant.go; DO NOT EDIT
package bgp
@@ -9,7 +9,7 @@ const (
_RouteFamily_name_1 = "RF_IPv4_MPLS"
_RouteFamily_name_2 = "RF_ENCAP"
_RouteFamily_name_3 = "RF_IPv4_VPNRF_IPv4_VPN_MC"
- _RouteFamily_name_4 = "RF_RTC_UC"
+ _RouteFamily_name_4 = "RF_RTC_UCRF_FS_IPv4_UCRF_FS_IPv4_VPN"
_RouteFamily_name_5 = "RF_IPv6_UCRF_IPv6_MC"
_RouteFamily_name_6 = "RF_IPv6_MPLS"
_RouteFamily_name_7 = "RF_IPv6_VPNRF_IPv6_VPN_MC"
@@ -22,7 +22,7 @@ var (
_RouteFamily_index_1 = [...]uint8{0, 12}
_RouteFamily_index_2 = [...]uint8{0, 8}
_RouteFamily_index_3 = [...]uint8{0, 11, 25}
- _RouteFamily_index_4 = [...]uint8{0, 9}
+ _RouteFamily_index_4 = [...]uint8{0, 9, 22, 36}
_RouteFamily_index_5 = [...]uint8{0, 10, 20}
_RouteFamily_index_6 = [...]uint8{0, 12}
_RouteFamily_index_7 = [...]uint8{0, 11, 25}
@@ -42,8 +42,9 @@ func (i RouteFamily) String() string {
case 65664 <= i && i <= 65665:
i -= 65664
return _RouteFamily_name_3[_RouteFamily_index_3[i]:_RouteFamily_index_3[i+1]]
- case i == 65668:
- return _RouteFamily_name_4
+ case 65668 <= i && i <= 65670:
+ i -= 65668
+ return _RouteFamily_name_4[_RouteFamily_index_4[i]:_RouteFamily_index_4[i+1]]
case 131073 <= i && i <= 131074:
i -= 131073
return _RouteFamily_name_5[_RouteFamily_index_5[i]:_RouteFamily_index_5[i+1]]