diff options
author | jim-p <jimp@pfsense.org> | 2011-02-10 11:16:13 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-02-10 11:16:13 -0500 |
commit | 8c5df70558fa0b21bacd543c0e33275da5a9b908 (patch) | |
tree | 3fa4d988e4b80eaeb1303acd146675adfb29ba90 /etc/inc | |
parent | 93c2c1e620aa71b9ffd29deb0aeeda3028bb413a (diff) | |
download | pfsense-8c5df70558fa0b21bacd543c0e33275da5a9b908.zip pfsense-8c5df70558fa0b21bacd543c0e33275da5a9b908.tar.gz |
Also fix easyrule and auto->manual nat switch code. Ticket #1243
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/easyrule.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/easyrule.inc b/etc/inc/easyrule.inc index c62f76b..b5b1620 100644 --- a/etc/inc/easyrule.inc +++ b/etc/inc/easyrule.inc @@ -46,7 +46,7 @@ function easyrule_find_rule_interface($int) { if ($config['pptpd']['mode'] == "server") $iflist['pptp'] = "PPTP VPN"; - if ($config['pppoe']['mode'] == "server") + if (is_pppoe_server_enabled() && have_ruleint_access("pppoe")) $iflist['pppoe'] = "PPPoE VPN"; if ($config['l2tp']['mode'] == "server") |