vrrpd: fix typo in switch script

This commit is contained in:
Jérémy Lecour 2024-01-18 09:11:24 +01:00 committed by Jérémy Lecour
parent 531b633d99
commit f994e19946
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY

View file

@ -62,7 +62,7 @@ case "${STATE}" in
"master" )
# Choose a MAC address
MAC_SUFFIX=$(printf %02x "${VRID}")
MAC="00:00:5e:00:01:${MAC_SUFFIX})"
MAC="00:00:5e:00:01:${MAC_SUFFIX}"
# Create macvlan interface
ip link add link "${INTERFACE_NAME}" address "${MAC}" "${VIRTUAL_INTERFACE_NAME}" type macvlan
# Add IP to interface