summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-19 18:35:51 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-19 18:35:51 -0500
commit86ae36217b8baad3cfb331705fc391cf176be076 (patch)
tree4900e4bef88edb7884bf1a8b1730eccfaaded628 /usr
parentdaacb81809e8022fdc9e393eaa3b594ecea4d518 (diff)
downloadpfsense-86ae36217b8baad3cfb331705fc391cf176be076.zip
pfsense-86ae36217b8baad3cfb331705fc391cf176be076.tar.gz
Allow setting package interfaces to loopback (lo0)
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 8b71837..5361b51 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -644,6 +644,7 @@ if ($pkg['tabs'] <> "") {
$values = $value;
else
$values = explode(',', $value);
+ $ifaces["lo0"] = "loopback";
foreach($ifaces as $ifname => $iface) {
$selected = (in_array($ifname, $values) ? 'selected' : '');
if(isset($pkga['advancedfield']) && $adv_enabled)
OpenPOWER on IntegriCloud