aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-06 14:46:36 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-06 14:46:36 +0100
commitbaa68f5a4aead320ed2c1a7debfc624cdd2a5e48 (patch)
tree7c39fc94a9369b91b5d29ec2bbc54bd80c143c5b /src
parent15e8a78a15e458efae781d4905134e07043aad25 (diff)
libmm-glib,simple-connect-properties: cleaner error handling
If processing a key-value pair as a bearer property fails, we need to know if it failed due to the key being unknown or due to some other reason (e.g. failure parsing value of a known key). We'll only try with the Simple.Connect properties if the key is reported as unknown in the bearer properties. This will help us better identify errors if e.g. an invalid value is given to a known key. E.g. "yes" was invalid for allow-roaming here: daemon.notice netifd: wan (30476): simple connect=apn=internet,ip-type=ipv4,allow-roaming=yes daemon.notice netifd: wan (30476): Error parsing connect string: 'Invalid properties string, unexpected key 'allow-roaming''
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions