diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-01-22 09:00:29 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-01-22 09:00:29 -0200 |
commit | 42cc62a2e7bbf1d953a1172578144b4763467c41 (patch) | |
tree | fa6d52163f8e99904015914f581cc58d94fb6aef | |
parent | 44763e58231deba6784e53dab4115908cbef4608 (diff) | |
download | pfsense-42cc62a2e7bbf1d953a1172578144b4763467c41.zip pfsense-42cc62a2e7bbf1d953a1172578144b4763467c41.tar.gz |
Do not translate function return string
-rw-r--r-- | etc/inc/pfsense-utils.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 1bfa1a4..ddd0991 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -371,17 +371,17 @@ function convert_ip_to_network_format($ip, $subnet) { function get_carp_interface_status($carpinterface) { $carp_query = ""; - /* XXX: Need to fidn a better way for this! */ + /* XXX: Need to find a better way for this! */ list ($interface, $vhid) = explode("_vip", $carpinterface); $interface = get_real_interface($interface); exec("/sbin/ifconfig $interface | /usr/bin/grep -v grep | /usr/bin/grep carp: | /usr/bin/grep 'vhid {$vhid}'", $carp_query); foreach($carp_query as $int) { if(stristr($int, "MASTER")) - return gettext("MASTER"); + return "MASTER"; if(stristr($int, "BACKUP")) - return gettext("BACKUP"); + return "BACKUP"; if(stristr($int, "INIT")) - return gettext("INIT"); + return "INIT"; } return; } |