mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 11:30:55 +00:00
Merge pull request #4244 from donaldsharp/pim_single_interface
pimd: Stop crash in show of single interface
This commit is contained in:
commit
ff1f50fb7b
@ -1207,6 +1207,8 @@ static void pim_show_interfaces_single(struct pim_instance *pim,
|
||||
print_header = 1;
|
||||
for (ALL_LIST_ELEMENTS_RO(pim->upstream_list, upnode,
|
||||
up)) {
|
||||
if (!up->rpf.source_nexthop.interface)
|
||||
continue;
|
||||
|
||||
if (strcmp(ifp->name,
|
||||
up->rpf.source_nexthop
|
||||
|
Loading…
Reference in New Issue
Block a user