summaryrefslogtreecommitdiffhomepage
path: root/packet
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-29 23:55:52 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-29 23:55:52 +0900
commit8b754377a3ce9c8463748418ad9a851e59b00a9e (patch)
tree0dfffd145e93c6cdf3c6f590eaad1ed0f0bd2ffe /packet
parentbf9e7d83896775728cd89a54e81f0fede9e0ac2f (diff)
packet: fix up error message
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet')
-rw-r--r--packet/bgp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp.go b/packet/bgp.go
index 7c218103..aa76cb12 100644
--- a/packet/bgp.go
+++ b/packet/bgp.go
@@ -1367,7 +1367,7 @@ func (p *DefaultAsPath) isValidAspath(data []byte) (bool, error) {
if err == nil {
return false, nil
}
- return false, NewMessageError(eCode, eSubCode, nil, "==== can't not parse")
+ return false, NewMessageError(eCode, eSubCode, nil, "can't parse AS_PATH")
}
type AsPathParamInterface interface {