]> git.puffer.fish Git - matthieu/frr.git/commit
Fix bgp ipv4/ipv6 accept handling
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 25 Aug 2008 00:36:51 +0000 (20:36 -0400)
committerPaul Jakma <paul@quagga.net>
Fri, 8 May 2009 21:59:42 +0000 (22:59 +0100)
commite9a3670706edf37c5a863c93e5ef0c269e484eb9
tree312ef6b631d3408837f21d9b37d7c47c4693ac2d
parent21b86436a8c826da84b47cd773fdffbf3d05141e
Fix bgp ipv4/ipv6 accept handling

When bgp calls getaddrinfo, it gets both ipv6 and ipv4 addresses.
Unless IPV6_ONLY is set on Linux, only the ipv6 bind will succeed,
and the IPV4 connections will come in as mapped connections on the
IPV6 socket.
bgpd/bgp_network.c