vxlan: Lookup FIB in either IPv4 or IPv6 families. 82/10382/1
authorJon Loeliger <jdl@netgate.com>
Thu, 1 Feb 2018 18:10:40 +0000 (12:10 -0600)
committerJon Loeliger <jdl@netgate.com>
Thu, 1 Feb 2018 20:53:28 +0000 (14:53 -0600)
commit2b9453c55a7294d8eedf126d616a608c32be0e36
treebca6e94218120608c0395ce274ed3221fcfa76cb
parent735f8793bf3e8ad37c7e608663283b7d89b7101d
vxlan: Lookup FIB in either IPv4 or IPv6 families.

Prior to this commit, the VXLAN "create" API assumed
the vrf_id belonged to only the IPv4 FIB tables space.
With this commit, the FIB table is found in either the
IPv4 or IPv6 table as determined by the is_ipv6 flag.

This follows the same pattern that was already being
done in the CLI code for the VXLAN "create" command.

Change-Id: I35d5e37db24efa858e4696dc2c004fa64bb4a4a8
Signed-off-by: Jon Loeliger <jdl@netgate.com>
src/vnet/vxlan/vxlan_api.c