summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.carpmaster
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-08 15:08:21 -0300
committerRenato Botelho <renato@netgate.com>2015-09-08 15:08:21 -0300
commitf4105497c4127d9b41f80d8a12e11d4f9127255a (patch)
tree882ab12718a30f28a5bfa681989b0be974d14d58 /src/etc/rc.carpmaster
parent542c1f172836a804d2f8e3559778405ee4a282ed (diff)
downloadpfsense-f4105497c4127d9b41f80d8a12e11d4f9127255a.zip
pfsense-f4105497c4127d9b41f80d8a12e11d4f9127255a.tar.gz
Fix carp(master|backup) notification message
Diffstat (limited to 'src/etc/rc.carpmaster')
-rwxr-xr-xsrc/etc/rc.carpmaster2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/rc.carpmaster b/src/etc/rc.carpmaster
index 91f3c0e..8413b04 100755
--- a/src/etc/rc.carpmaster
+++ b/src/etc/rc.carpmaster
@@ -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 "(%1$s): (%2$s)" has resumed the state "MASTER" for vhid %3$s', $argument, $friendly_descr, $vhid);
notify_via_smtp($notificationmsg);
notify_via_growl($notificationmsg);
OpenPOWER on IntegriCloud