diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-06 20:58:20 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-06 20:58:20 +0000 |
commit | 97b8f6b3e0c3916413626b9654ed044c1431f744 (patch) | |
tree | 103d32de967ce84e5fb16c1bb11ec558bf153d33 /packages/doorman.xml | |
parent | e0a23c6c9de0b47da3823fa4df3af456f7d6dfce (diff) | |
download | pfsense-packages-97b8f6b3e0c3916413626b9654ed044c1431f744.tar.gz pfsense-packages-97b8f6b3e0c3916413626b9654ed044c1431f744.tar.bz2 pfsense-packages-97b8f6b3e0c3916413626b9654ed044c1431f744.zip |
Use config.xml when finding the WAN interface (rather than the unnecessary function call).
Diffstat (limited to 'packages/doorman.xml')
-rw-r--r-- | packages/doorman.xml | 3 |
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"); |