summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/connections/pppoe2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/connections/pppoe b/src/lib/connections/pppoe
index 2578af7..d392397 100644
--- a/src/lib/connections/pppoe
+++ b/src/lib/connections/pppoe
@@ -9,7 +9,7 @@ _quotestring() {
pppoe_up() {
local cfg
- mkdir -p "$STATE_DIR/pppoe.${Interface}.$1/"
+ mkdir -p "$STATE_DIR/pppoe.${Interface}.${Profile}/"
chmod 700 "$STATE_DIR/pppoe.${Interface}.${Profile}/"
cfg="$STATE_DIR/pppoe.${Interface}.${Profile}/options"
: > "${cfg}"