The following functions:

rib_add_ipv[4/6]
rib_delete_ipv[4/6]

expect an interface index as one of the arguments, which seems to be the case
everywhere they are used in the code except in zebra/kernel_socket.c.
For the ipv4 family the value 0 is passed for the index, whereas
for the ipv6, one place passes 0 and two other places pass a variable called ifindex
that is only initialized to non-zero under an ifdef.

Is that how it should be? Does ifindex have any significance in these cases ?

Thanks,
Jafar


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to