diff options
Diffstat (limited to 'scripts/keepalived/vyatta-keepalived.pl')
-rwxr-xr-x | scripts/keepalived/vyatta-keepalived.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/keepalived/vyatta-keepalived.pl b/scripts/keepalived/vyatta-keepalived.pl index e834745b..f419ac41 100755 --- a/scripts/keepalived/vyatta-keepalived.pl +++ b/scripts/keepalived/vyatta-keepalived.pl @@ -247,7 +247,9 @@ sub keepalived_get_values { $output .= "\tinterface $intf\n"; $output .= "\tvirtual_router_id $group\n"; if ($use_vmac) { - $output .= "\tuse_vmac\n"; + $output .= "\tuse_vmac $intf"; + $output .= "v"; + $output .= "$group\n"; } $output .= "\tpriority $priority\n"; if ( $preempt eq "false" ) { |