summaryrefslogtreecommitdiff
path: root/lib/debug.c
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2023-03-17 01:55:16 -0700
committerSai Gomathi N <nsaigomathi@vmware.com>2023-03-19 22:58:55 -0700
commit522ec0a9244df8f3326948fd8338451a341a147c (patch)
tree88a0d043d2f76654604e484460aa28c5f10840cc /lib/debug.c
parentc8cba1b88c952517ebe7f2ab2262a6ffb5499c0a (diff)
pim6d: Do not use interfaces with ifindex as 0
After restarting pim6d, in some cases the ifindex is 0 for the interfaces, so the vif index is also assigned as 0. This causes the interface name to be pim6reg. Fix: If the ifindex is 0 and the interface name is not "pimreg" or "pim6reg", the function will return without assigning vifindex with an error message. Issue: #12744 Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'lib/debug.c')
0 files changed, 0 insertions, 0 deletions