aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/doorman.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/doorman.xml b/packages/doorman.xml
index b2337d67..7c3de661 100644
--- a/packages/doorman.xml
+++ b/packages/doorman.xml
@@ -75,7 +75,12 @@
global $config;
$fout = fopen("/usr/local/etc/doormand/doormand.cf","w");
fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n");
- $int = convert_friendly_interface_to_real_interface_name($_POST['interface']);
+ /*
+ * $int = convert_friendly_interface_to_real_interface_name($_POST['interface']);
+ * fwrite($fout, "interface " . $int . "\n");
+ */
+
+ $int = convert_friendly_interface_to_real_interface_name(wan);
fwrite($fout, "interface " . $int . "\n");
if($_POST['port'] != "") fwrite($fout, "port " . $_POST['port'] . "\n");
if($_POST['inittimeout'] != "") fwrite($fout, "waitfor " . $_POST['inittimeout'] . "\n");