diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-11-18 17:36:22 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-11-18 17:36:22 -0800 |
commit | e8bff5b3662713180518de6eb12b3c11bd0d7775 (patch) | |
tree | 733573ac7739b0fe12f1613245f1af8eaeb58034 /packet/constant.go | |
parent | dbd83f729fe9f616ba5784fa5e1e3438654e3d93 (diff) |
fix IPv4-mapped addresss handling
net.IP handles IPv4-mapped addresss as ipv4 so leads to the following
crash:
gobgpd[857]: /usr/lib/go/src/pkg/runtime/panic.c:279 +0xf5
gobgpd[857]: github.com/osrg/gobgp/table.CidrToRadixkey(0xc2080ffec0, 0xa, 0x0, 0x0)
gobgpd[857]: /usr/local/opt/go/src/github.com/osrg/gobgp/table/destination.go:63 +0xb2
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet/constant.go')
0 files changed, 0 insertions, 0 deletions