vrrpd: fix typo in switch script
This commit is contained in:
parent
531b633d99
commit
f994e19946
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue