summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'packet/bgp_test.go')
-rw-r--r--packet/bgp_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet/bgp_test.go b/packet/bgp_test.go
index 731b9870..e3502d26 100644
--- a/packet/bgp_test.go
+++ b/packet/bgp_test.go
@@ -270,7 +270,7 @@ func Test_RFC5512(t *testing.T) {
buf[0] = byte(EC_TYPE_TRANSITIVE_OPAQUE)
buf[1] = byte(EC_SUBTYPE_COLOR)
binary.BigEndian.PutUint32(buf[4:], 1000000)
- ec, err := parseExtended(buf)
+ ec, err := ParseExtended(buf)
assert.Equal(nil, err)
assert.Equal("1000000", ec.String())
buf, err = ec.Serialize()
@@ -281,7 +281,7 @@ func Test_RFC5512(t *testing.T) {
buf[0] = byte(EC_TYPE_TRANSITIVE_OPAQUE)
buf[1] = byte(EC_SUBTYPE_ENCAPSULATION)
binary.BigEndian.PutUint16(buf[6:], uint16(TUNNEL_TYPE_VXLAN))
- ec, err = parseExtended(buf)
+ ec, err = ParseExtended(buf)
assert.Equal(nil, err)
assert.Equal("VXLAN", ec.String())
buf, err = ec.Serialize()