summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-04-14 17:15:16 +0000
committerErmal Luçi <eri@pfsense.org>2008-04-14 17:15:16 +0000
commit85ff97a7ac35580eb10168d5da01fc622382dd84 (patch)
treeb935505282599087e364c9abb97139358aa1a1bd /etc/inc/filter.inc
parent7e4329edd4aa707d2e2e8a52ac441e091a7292ea (diff)
downloadpfsense-85ff97a7ac35580eb10168d5da01fc622382dd84.zip
pfsense-85ff97a7ac35580eb10168d5da01fc622382dd84.tar.gz
Change the renaming of openvpn tun devices to ovpnX so netstat copes with the names.
Better do this than patch netstat to allow space for IFNAMSIZ in the interface column.
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index f97dd4e..07fb879 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -3115,7 +3115,7 @@ function create_firewall_outgoing_rules_to_itself() {
update_filter_reload_status("Setting up tun interfaces (openvpn)");
/* openvpn tun interfaces. check for 100. */
for($x=0; $x<100; $x++) {
- if(does_interface_exist("openvpn{$x}") == true) {
+ if(does_interface_exist("ovpn{$x}") == true) {
/* If the interface has a gateway we do not add a pass in rule. */
/* Some people use a TUN tunnel with public IP as a Multiwan interface */
if(interface_has_gateway("openvpn{$x}")) {
OpenPOWER on IntegriCloud