mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix syntax/quoting error in rc.carpmaster and rc.carpbackup
This commit is contained in:
parent
2957ba349f
commit
265cea92d3
@ -51,7 +51,7 @@ $friendly_descr = convert_friendly_interface_to_friendly_descr($friendly);
|
||||
$vips = link_interface_to_vips($friendly, '', $vhid);
|
||||
$carp_iface = "{$friendly}_vip{$vhid}";
|
||||
foreach ($vips as $vip) {
|
||||
$notificationmsg = sprintf('Carp cluster member "{$friendly_descr)(%2$s): {$vip['subnet']} (%1$s)" has resumed the state "BACKUP" for vhid %s', $argument, $vip['descr'], $vhid);
|
||||
$notificationmsg = sprintf('Carp cluster member "{$friendly_descr)(%2$s): {$vip["subnet"]} (%1$s)" has resumed the state "BACKUP" for vhid %s', $argument, $vip['descr'], $vhid);
|
||||
|
||||
notify_via_smtp($notificationmsg);
|
||||
notify_via_growl($notificationmsg);
|
||||
|
||||
@ -51,7 +51,7 @@ $friendly_descr = convert_friendly_interface_to_friendly_descr($friendly);
|
||||
$vips = link_interface_to_vips($friendly, '', $vhid);
|
||||
$carp_iface = "{$friendly}_vip{$vhid}";
|
||||
foreach ($vips as $vip) {
|
||||
$notificationmsg = sprintf('Carp cluster member "{$friendly_descr)(%2$s): {$vip['subnet']} (%1$s)" has resumed the state "MASTER" for vhid %s', $argument, $vip['descr'], $vhid);
|
||||
$notificationmsg = sprintf('Carp cluster member "{$friendly_descr)(%2$s): {$vip["subnet"]} (%1$s)" has resumed the state "MASTER" for vhid %s', $argument, $vip['descr'], $vhid);
|
||||
|
||||
notify_via_smtp($notificationmsg);
|
||||
notify_via_growl($notificationmsg);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user