diff options
| author | Florian Eckert <fe@dev.tdt.de> | 2017-11-16 11:46:06 +0100 |
|---|---|---|
| committer | Florian Eckert <fe@dev.tdt.de> | 2018-01-22 15:32:56 +0100 |
| commit | 455d9a5b48a784d0602d5f8371245b4cd14931b6 (patch) | |
| tree | a2d4f37c95b93fbbf50f4be0b3572d1d040dc739 /net/keepalived | |
| parent | e518c65b5825ae86704a606e0b1ca25dc9d500f0 (diff) | |
net/keepalived: change use_vmac to boolean
Append use_vmac with no_val_ so that the uci generation will treat this
as an boolean option. If the option is set then a interface with
vrrp.{virtual_router_id} is added to the system.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'net/keepalived')
| -rw-r--r-- | net/keepalived/files/keepalived.init | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/keepalived/files/keepalived.init b/net/keepalived/files/keepalived.init index ee0eb049e..3b37750ba 100644 --- a/net/keepalived/files/keepalived.init +++ b/net/keepalived/files/keepalived.init @@ -283,13 +283,14 @@ vrrp_instance() { printf "$INDENT_1}\n" >> $KEEPALIVED_CONF } - print_elems_indent $1 $INDENT_1 use_vmac state interface \ + print_elems_indent $1 $INDENT_1 state interface \ mcast_src_ip unicast_src_ip virtual_router_id version priority \ advert_int preempt_delay debug \ lvs_sync_daemon_interface garp_master_delay garp_master_refresh \ garp_master_repeat garp_master_refresh_repeat \ no_val_vmac_xmit_base no_val_native_ipv6 no_val_accept \ - no_val_dont_track_primary no_val_smtp_alert no_val_nopreempt + no_val_dont_track_primary no_val_smtp_alert no_val_nopreempt \ + no_val_use_vmac print_notify "INSTANCE" "$name" notify_backup notify_master \ notify_fault notify_stop notify |
