]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netdev-bsd.c
tunneling: Handle multiple ip address for given device.
authorPravin B Shelar <pshelar@ovn.org>
Thu, 24 Mar 2016 16:30:57 +0000 (09:30 -0700)
committerPravin B Shelar <pshelar@ovn.org>
Thu, 24 Mar 2016 16:30:57 +0000 (09:30 -0700)
commita8704b502785a9661721f041b2ee168d7a4eb460
treed19c31b4832e002e21ea02adfc700f33a4e58f97
parentc4bee4cbdbb93588c2a94ba7cb848b5608d8773a
tunneling: Handle multiple ip address for given device.

Device can have multiple IP address but netdev_get_in4/6()
returns only one configured IPv6 address. Following
patch fixes it.
OVS router is also updated to return source ip address for
given destination, This is required when interface has multiple
IP address configured.

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
15 files changed:
lib/netdev-bsd.c
lib/netdev-dpdk.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev-vport.c
lib/netdev.c
lib/netdev.h
lib/ovs-router.c
lib/ovs-router.h
lib/route-table.c
lib/tnl-ports.c
ofproto/ofproto-dpif-xlate.c
tests/ofproto-dpif.at
vswitchd/bridge.c