diff options
author | jim-p <jimp@pfsense.org> | 2013-03-04 14:55:59 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-03-04 14:56:33 -0500 |
commit | 9b64b52d144adb3de77a9ecceadaa07f3337b93a (patch) | |
tree | d6352b1726018379be6bc8ba6530696f8a134723 | |
parent | a11fb612618cf15182514ad35641a57f12966aea (diff) | |
download | pfsense-9b64b52d144adb3de77a9ecceadaa07f3337b93a.zip pfsense-9b64b52d144adb3de77a9ecceadaa07f3337b93a.tar.gz |
Use the correct interface number (old code broke for >= 10)
-rwxr-xr-x | usr/local/www/interfaces_assign.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php index 73b697b..8945c83 100755 --- a/usr/local/www/interfaces_assign.php +++ b/usr/local/www/interfaces_assign.php @@ -462,7 +462,7 @@ if(file_exists("/var/run/interface_mismatch_reboot_needed")) } elseif ($portinfo['isqinq']) { echo htmlspecialchars($portinfo['descr']); } elseif (substr($portname, 0, 4) == 'ovpn') { - echo htmlspecialchars($portname . " (" . $ovpn_descrs[substr($portname, 5, 1)] . ")"); + echo htmlspecialchars($portname . " (" . $ovpn_descrs[substr($portname, 5)] . ")"); } else echo htmlspecialchars($portname . " (" . $portinfo['mac'] . ")"); ?></option> |