bgp: fix netaddr error