diff options
author | Lukas Märdian <lukas.maerdian@canonical.com> | 2020-12-16 18:19:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 18:19:46 +0100 |
commit | 41bfbd6db8ad8126f00a73eb6fdda637d7a717eb (patch) | |
tree | 01da8cb42b5fc29b4f5ff5e007368a8a36711856 /src | |
parent | 85ff2f5396144b6732d5c0b5a71699e55ce02c7f (diff) |
parse: fix 'networkmanager:' backend options for modem connections (#179)
The COMMON_BACKEND_HANDLERS have been forgotten for modem connections apparently. Add them to allow the definition of the special networkmanager: mapping, used for NetworkManager integration. We do not (yet) use that information (like uuid) in the current implementation. But reading YAML via NetworkManager will be broken if the networkmanager: mapping is not accepted.
Diffstat (limited to 'src')
-rw-r--r-- | src/parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c index 8c68be7..607c511 100644 --- a/src/parse.c +++ b/src/parse.c @@ -2221,6 +2221,7 @@ static const mapping_entry_handler vlan_def_handlers[] = { static const mapping_entry_handler modem_def_handlers[] = { COMMON_LINK_HANDLERS, + COMMON_BACKEND_HANDLERS, {"apn", YAML_SCALAR_NODE, handle_netdef_str, NULL, netdef_offset(modem_params.apn)}, {"auto-config", YAML_SCALAR_NODE, handle_netdef_bool, NULL, netdef_offset(modem_params.auto_config)}, {"device-id", YAML_SCALAR_NODE, handle_netdef_str, NULL, netdef_offset(modem_params.device_id)}, |