aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/doorman.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/doorman.xml b/packages/doorman.xml
index a71419fb..8343385a 100644
--- a/packages/doorman.xml
+++ b/packages/doorman.xml
@@ -82,8 +82,7 @@
* fwrite($fout, "interface " . $int . "\n");
*/
- $int = convert_friendly_interface_to_real_interface_name(wan);
- fwrite($fout, "interface " . $int . "\n");
+ fwrite($fout, "interface " . $config['interfaces']['wan']['if'] . "\n");
if($_POST['port'] != "") fwrite($fout, "port " . $_POST['port'] . "\n");
if($_POST['inittimeout'] != "") fwrite($fout, "waitfor " . $_POST['inittimeout'] . "\n");
if($_POST['initdelay'] != "") fwrite($fout, "connection_delay_1 " . $_POST['initdelay'] . "\n");