diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-31 21:48:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-31 21:48:47 +0000 |
commit | 8b3500fe16e7e509fcda163c9e9abca6dba95205 (patch) | |
tree | bf3e96ef22743c83ea2840d150d668fe47b2bd36 /etc/inc/vpn.inc | |
parent | e74c77dffb10223c2a1bc4a93b3333024cbe949e (diff) | |
download | pfsense-8b3500fe16e7e509fcda163c9e9abca6dba95205.zip pfsense-8b3500fe16e7e509fcda163c9e9abca6dba95205.tar.gz |
Use unique variable name for interface
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index ef6812a..6462a19 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -812,7 +812,7 @@ function vpn_pppoe_configure() { case 'server': - $interface = filter_translate_type_to_real_interface($pppoecfg['interface']); + $pppoe_interface = filter_translate_type_to_real_interface($pppoecfg['interface']); /* write mpd.conf */ $fd = fopen("{$g['varetc_path']}/mpd-vpn/mpd.conf", "a"); @@ -849,13 +849,12 @@ EOD; pppoe_standart: set link type pppoe - set pppoe iface {$interface} + set pppoe iface {$pppoe_interface} set pppoe service "*" set pppoe disable originate set pppoe enable incoming set bundle no multilink set bundle enable compression - #set bundle accept encryption set bundle max-logins 1 set iface idle 0 set iface disable on-demand @@ -873,8 +872,9 @@ pppoe_standart: set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless - #set ipcp dns 10.10.1.3 set link latency 1 + #set ipcp dns 10.10.1.3 + #set bundle accept encryption EOD; |