Better check for IPv6 compatibility with the BGP peer.
authorBenjamin Cama <benoar@dolka.fr>
Sat, 23 Jul 2011 16:53:12 +0000 (18:53 +0200)
committerBenjamin Cama <benoar@dolka.fr>
Thu, 28 Jul 2011 13:01:57 +0000 (15:01 +0200)
commit3bd675ad2c2b0c1cb3dfe52deb179f24e05c41b4
tree7f4e809e16e41f2ca6fababfbbc88c61cf7bcb72
parent3ea85f7c57f8d555396feb5121e7253f04ee6774
Better check for IPv6 compatibility with the BGP peer.

We would advertise IPv6 routes to non-multiprotocol aware peers. Fix that.
Also, fix the way we parse options, to handle multiple optional parameters with
one capability in it (or many; it's just the way quagga send them).

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
bgp.c