Add "apn", remove "running" property for ppp-client interfaces (#202)

Commit 2164261 added support for `interface ppp-client`. It missed the
`apn` property and added the runtime-only `running` property.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
hansmi 2023-08-20 21:25:33 +02:00 committed by GitHub
parent b0a4743de8
commit 11d83bffe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,6 +304,7 @@ PATHS = {
fields={
'add-default-route': KeyInfo(default=True),
'allow': KeyInfo(default='pap,chap,mschap1,mschap2'),
'apn': KeyInfo(default='internet'),
'comment': KeyInfo(can_disable=True, remove_value=''),
'data-channel': KeyInfo(default=0),
'default-route-distance': KeyInfo(default=1),
@ -323,7 +324,6 @@ PATHS = {
'pin': KeyInfo(default=''),
'port': KeyInfo(),
'profile': KeyInfo(default='default'),
'running': KeyInfo(default=False),
'use-peer-dns': KeyInfo(default=True),
'user': KeyInfo(default=''),
},