diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-01-22 18:33:34 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-01-22 18:33:34 +0000 |
commit | 27e7bc911148d58e078f70bbccb264a3335abfa5 (patch) | |
tree | 28ed7c1a99df5682175405871c7cb293371450e5 /etc/inc | |
parent | 67cd847c53f6bd7edfc0e582c7f8c4738a086365 (diff) | |
download | pfsense-27e7bc911148d58e078f70bbccb264a3335abfa5.zip pfsense-27e7bc911148d58e078f70bbccb264a3335abfa5.tar.gz |
Correctly generate the if name for ppp.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 9ebdc73..5f78a6f 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -905,7 +905,7 @@ function interface_ppp_configure($ifcfg,$edit=false) { $peerfile .= " set ifaddr {$ppp['localip']}/0 10.0.0.{$endingip}/0 255.255.255.0 0.0.0.0\n"; if(!$ppp['localip'] and !$ppp['gateway']) $peerfile .= " set ifaddr 10.0.0.{$startingip}/0 10.0.0.{$endingip}/0 255.255.255.0 0.0.0.0\n"; - $peerfile .= " iface name {$ppp['if']}\n"; + $peerfile .= " iface name ppp_{$orig_dev}\n"; $peerfile .= " set phone \"{$ppp['phone']}\"\n"; $peerfile .= " set authname \"{$ppp['username']}\"\n"; $peerfile .= " set authkey \"{$ppp['password']}\"\n"; |