From f2cea556c18da0419ee64a47653455c3c4dc6811 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Mon, 13 Jun 2016 20:13:26 +0900 Subject: packet: export PathAttributeInterface GetFlags() Needs to access to Flags. Signed-off-by: FUJITA Tomonori --- packet/bgp/bgp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet/bgp/bgp.go') 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 } -- cgit v1.2.3