diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-20 13:53:55 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-09-20 14:46:26 +0200 |
commit | 993f6873c02f3f79013acedfe61ce705bdb3a4d0 (patch) | |
tree | ac1b93a2eada6091b9274cdd934aa35baac0a61f /data/templates/wwan/peer.tmpl | |
parent | 0a21905786d31e759416dd335d87726f9ed46ffa (diff) | |
download | vyos-1x-993f6873c02f3f79013acedfe61ce705bdb3a4d0.tar.gz vyos-1x-993f6873c02f3f79013acedfe61ce705bdb3a4d0.zip |
wwan: ifconfig: T2905: sync CLI nodes in dialup interfaces
Both PPPoE and WWAN interfaces are dialer interfaces handled by ppp, but use
different CLI nodes for the same functionality. PPPoE has "connect-on-demand"
to initiate an "on-demand" dialing and WWAN uses "ondemand" for this purpose.
Rename WWAN "ondemand" node to "connect-on-demand".
Diffstat (limited to 'data/templates/wwan/peer.tmpl')
-rw-r--r-- | data/templates/wwan/peer.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/wwan/peer.tmpl b/data/templates/wwan/peer.tmpl index aa759f741..e23881bf8 100644 --- a/data/templates/wwan/peer.tmpl +++ b/data/templates/wwan/peer.tmpl @@ -21,7 +21,7 @@ noauth crtscts lock persist -{{ "demand" if ondemand is defined }} +{{ "demand" if connect_on_demand is defined }} connect '/usr/sbin/chat -v -t6 -f /etc/ppp/peers/chat.{{ ifname }}' |