We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 889eb4c + 2e2961d commit 96007a2Copy full SHA for 96007a2
keepalived/vrrp/vrrp_data.c
@@ -685,7 +685,7 @@ dump_vrrp(FILE *fp, const vrrp_t *vrrp)
685
/* The following should only be specified for VMACs and ipvlans */
686
if (__test_bit(VRRP_VMAC_GROUP, &vrrp->flags))
687
conf_write(fp, " Interface group %u", vrrp->vmac_group);
688
- else if (vrrp->ifp->base_ifp->group)
+ else if (vrrp->ifp && vrrp->ifp->base_ifp->group)
689
conf_write(fp, " Interface group %u (copied from parent)", vrrp->ifp->base_ifp->group);
690
691
if (vrrp->ifp && vrrp->ifp->is_ours) {
0 commit comments