From 952177e6d82c6c50c5521cb8e73baa30adbf53f2 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 24 Oct 2015 10:13:35 +0200 Subject: Fix external interface variable in input error message --- usr/local/pkg/miniupnpd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.1