mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 10:50:18 +00:00
Merge pull request #12803 from FRRouting/mergify/bp/dev/8.5/pr-12790
vrrpd: give null when using null ifp to lookup vr (backport #12790)
This commit is contained in:
commit
68c8001d41
@ -671,6 +671,9 @@ void vrrp_vrouter_destroy(struct vrrp_vrouter *vr)
|
||||
|
||||
struct vrrp_vrouter *vrrp_lookup(const struct interface *ifp, uint8_t vrid)
|
||||
{
|
||||
if (!ifp)
|
||||
return NULL;
|
||||
|
||||
struct vrrp_vrouter vr;
|
||||
|
||||
vr.vrid = vrid;
|
||||
|
Loading…
Reference in New Issue
Block a user