summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-24 10:13:35 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-24 10:13:35 +0200
commit952177e6d82c6c50c5521cb8e73baa30adbf53f2 (patch)
treef23ec892400eb529388163406718db096a7f3ad0
parentebf4e00e54156bb51f3f8687c5a27a2bb84d1a68 (diff)
downloadpfsense-952177e6d82c6c50c5521cb8e73baa30adbf53f2.zip
pfsense-952177e6d82c6c50c5521cb8e73baa30adbf53f2.tar.gz
Fix external interface variable in input error message
-rw-r--r--usr/local/pkg/miniupnpd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/pkg/miniupnpd.inc b/usr/local/pkg/miniupnpd.inc
index 9708365..10f759b 100644
--- a/usr/local/pkg/miniupnpd.inc
+++ b/usr/local/pkg/miniupnpd.inc
@@ -100,7 +100,7 @@
$extif = convert_friendly_interface_to_real_interface_name($post['ext_iface']);
$extaddr = find_interface_ip($extif);
if (!is_ipaddrv4($extaddr)) {
- $input_errors[] = "The selected external interface '{$iface}' has no IPv4 configured. UPnP does not support IPv6.";
+ $input_errors[] = "The selected external interface '{$extif}' has no IPv4 configured. UPnP does not support IPv6.";
}
}
if($post['overridewanip'] && !upnp_validate_ip($post['overridewanip'],false))
OpenPOWER on IntegriCloud