diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-06-20 13:22:02 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-06-20 15:32:56 +0900 |
commit | bf018a623f8acc70721d1d09f95fd72c2bad6df3 (patch) | |
tree | b849de8fa31d175d4d9815187229a74d5659caf9 /packet/bgp_test.go | |
parent | 1380d3697201754fd496444fc66391b5622fe62b (diff) |
packet: make getPathAttribute public
we use this function later in mrt code
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp_test.go')
-rw-r--r-- | packet/bgp_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp_test.go b/packet/bgp_test.go index ba969419..90ad7d20 100644 --- a/packet/bgp_test.go +++ b/packet/bgp_test.go @@ -295,7 +295,7 @@ func Test_RFC5512(t *testing.T) { buf1, err := attr.Serialize() assert.Equal(nil, err) - p, err := getPathAttribute(buf1) + p, err := GetPathAttribute(buf1) assert.Equal(nil, err) err = p.DecodeFromBytes(buf1) |