summaryrefslogtreecommitdiffhomepage
path: root/pkg/packet/bgp/bgp.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/packet/bgp/bgp.go')
-rw-r--r--pkg/packet/bgp/bgp.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go
index f72a3706..2790c080 100644
--- a/pkg/packet/bgp/bgp.go
+++ b/pkg/packet/bgp/bgp.go
@@ -2102,6 +2102,7 @@ func NewRouteTargetMembershipNLRI(as uint32, target ExtendedCommunityInterface)
}
}
+//go:generate stringer -type=ESIType
type ESIType uint8
const (
@@ -8284,6 +8285,7 @@ func (f BGPAttrFlag) String() string {
return strings.Join(strs, "|")
}
+//go:generate stringer -type=BGPAttrType
type BGPAttrType uint8
const (