Skip to content

Commit

Permalink
vrrp: fix build failure from previous commit
Browse files Browse the repository at this point in the history
Commit edf6cd5 - "vrrp: work around missing promiscuous netlink
notifications" caused a build failure with configuration option
--disable-vmac.

Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
  • Loading branch information
pqarmitage committed Sep 17, 2023
1 parent edf6cd5 commit 14359ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keepalived/vrrp/vrrp_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,10 @@ dump_if(FILE *fp, const interface_t *ifp)
conf_write(fp, " Delayed state change running = %s", ifp->flags_change_thread ? "true" : "false");
conf_write(fp, " Up debounce timer = %uus", ifp->up_debounce_timer);
conf_write(fp, " Down debounce timer = %uus", ifp->down_debounce_timer);
conf_write(fp, " Group = %u", ifp->group);

#ifdef _HAVE_VRRP_VMAC_
conf_write(fp, " Group = %u", ifp->group);

if (IS_MAC_IP_VLAN(ifp)) {
const char *if_type =
#ifdef _HAVE_VRRP_IPVLAN_
Expand Down

0 comments on commit 14359ca

Please sign in to comment.