]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Use the ifindex to create vif device
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 17 Jun 2016 13:19:38 +0000 (09:19 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 17 Jun 2016 13:19:38 +0000 (09:19 -0400)
commit3479bad6390d52bbf2ec07d5d80d2cde1495220c
tree7c576724cb623a27066d7ddb4e2bcf1e452e919e
parent69ae646b8d8f62c5e17766d4c6d2064d6796f687
pimd: Use the ifindex to create vif device

It is possible to create multiple interfaces
with the same ip address.  Looking up the
dev to use based upon the ip address will
eventually fail when you keep getting
the same dev device.

Future-Work: I'll need to add a translation
to vif index to actual device to use because
ifindex's are not guaranteed to be under 256.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_mroute.c