summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-01-22 18:33:34 +0000
committerErmal Luçi <eri@pfsense.org>2010-01-22 18:33:34 +0000
commit27e7bc911148d58e078f70bbccb264a3335abfa5 (patch)
tree28ed7c1a99df5682175405871c7cb293371450e5 /etc/inc
parent67cd847c53f6bd7edfc0e582c7f8c4738a086365 (diff)
downloadpfsense-27e7bc911148d58e078f70bbccb264a3335abfa5.zip
pfsense-27e7bc911148d58e078f70bbccb264a3335abfa5.tar.gz
Correctly generate the if name for ppp.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
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";
OpenPOWER on IntegriCloud