summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-10 19:05:39 +0100
committerChristian Breunig <christian@breunig.cc>2023-02-10 19:05:39 +0100
commitabb45b2dac6d21899b47f792f887c42e757f0a2f (patch)
tree23ecc33e7ca64fbad3c5530261467ec773befab2 /src/conf_mode
parent7000d33d3dd275796cf0d9ac450a3af88168c907 (diff)
downloadvyos-1x-abb45b2dac6d21899b47f792f887c42e757f0a2f.tar.gz
vyos-1x-abb45b2dac6d21899b47f792f887c42e757f0a2f.zip
interfaces: T4995: rename user -> username CLI node for pppoe, wwan and sstp-client
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-wwan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wwan.py b/src/conf_mode/interfaces-wwan.py
index a14a992ae..9ca495476 100755
--- a/src/conf_mode/interfaces-wwan.py
+++ b/src/conf_mode/interfaces-wwan.py
@@ -171,7 +171,7 @@ def apply(wwan):
options = f'ip-type={ip_type},apn=' + wwan['apn']
if 'authentication' in wwan:
- options += ',user={user},password={password}'.format(**wwan['authentication'])
+ options += ',user={username},password={password}'.format(**wwan['authentication'])
command = f'{base_cmd} --simple-connect="{options}"'
call(command, stdout=DEVNULL)