summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-01-22 13:05:05 +0000
committerErmal Luçi <eri@pfsense.org>2010-01-22 13:05:05 +0000
commit4f64e3b0359f5920fc70f507228271ec536923ff (patch)
treeb0bcbbd24ce3304fe3e337a2888155dfd57ac3d5 /etc
parentc720fffc9433b28aef294cce85710077b7f91b1e (diff)
downloadpfsense-4f64e3b0359f5920fc70f507228271ec536923ff.zip
pfsense-4f64e3b0359f5920fc70f507228271ec536923ff.tar.gz
Tell ppp to rename the underlying tun interface now that we teached it how to do so.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index cffaa33..8930d52 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -905,6 +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 .= " set phone \"{$ppp['phone']}\"\n";
$peerfile .= " set authname \"{$ppp['username']}\"\n";
$peerfile .= " set authkey \"{$ppp['password']}\"\n";
OpenPOWER on IntegriCloud