Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[libconnman-qt] Convert VPN routes to/from dbus. Contributes to JB#46120
The userRoutes and serverRoutes VPN properties are passed to connman via dbus in the following form. Variant array [struct {array [ dict entry( string "ProtocolFamily" variant int32 4 ) dict entry( string "Network" variant string "172.18.13.1" ) dict entry( string "Netmask" variant string "255.255.255.255" ) dict entry( string "Gateway" variant string "172.18.13.5" ) ]}] These need to be converted to and from the appropriate datatypes used in QML and javascript. This change adds the conversion functions needed for this.
- Loading branch information
Showing
4 changed files
with
122 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters