summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp/bgp.go
diff options
context:
space:
mode:
Diffstat (limited to 'packet/bgp/bgp.go')
-rw-r--r--packet/bgp/bgp.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet/bgp/bgp.go b/packet/bgp/bgp.go
index 17d11f4e..49a7cc01 100644
--- a/packet/bgp/bgp.go
+++ b/packet/bgp/bgp.go
@@ -3782,7 +3782,7 @@ type PathAttributeInterface interface {
DecodeFromBytes([]byte) error
Serialize() ([]byte, error)
Len() int
- getFlags() BGPAttrFlag
+ GetFlags() BGPAttrFlag
GetType() BGPAttrType
String() string
MarshalJSON() ([]byte, error)
@@ -3808,7 +3808,7 @@ func (p *PathAttribute) Len() int {
return int(l)
}
-func (p *PathAttribute) getFlags() BGPAttrFlag {
+func (p *PathAttribute) GetFlags() BGPAttrFlag {
return p.Flags
}