mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not translate function return string
This commit is contained in:
parent
ee8fb75d2c
commit
7b753c2beb
@ -375,11 +375,11 @@ function get_carp_interface_status($carpinterface) {
|
||||
$_gb = exec("/sbin/ifconfig $interface | /usr/bin/grep -v grep | /usr/bin/grep carp: | /usr/bin/head -n 1", $carp_query);
|
||||
foreach($carp_query as $int) {
|
||||
if (stripos($int, "MASTER"))
|
||||
return gettext("MASTER");
|
||||
return "MASTER";
|
||||
if (stripos($int, "BACKUP"))
|
||||
return gettext("BACKUP");
|
||||
return "BACKUP";
|
||||
if (stripos($int, "INIT"))
|
||||
return gettext("INIT");
|
||||
return "INIT";
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user