mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not use gettext() on default LAN interface name
This commit is contained in:
parent
0fa7e6bfb5
commit
a5fd107dcd
@ -191,8 +191,8 @@ if (isset($_REQUEST['add']) && isset($_REQUEST['if_add'])) {
|
||||
if ($portused === false) {
|
||||
/* find next free optional interface number */
|
||||
if (!$config['interfaces']['lan']) {
|
||||
$newifname = gettext("lan");
|
||||
$descr = gettext("LAN");
|
||||
$newifname = "lan";
|
||||
$descr = "LAN";
|
||||
} else {
|
||||
for ($i = 1; $i <= count($config['interfaces']); $i++) {
|
||||
if (!$config['interfaces']["opt{$i}"]) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user