devices: make sure the generated connections are normalized

System Internals / NetworkManager - Lubomir Rintel [v3.sk] - 18 September 2018 15:40 EDT

Using these unormalized was wrong all along, but by chance didn't hit paths that needed normalized connections. This may change if we actually write in memory connections to /run with the keyfile plugin, because that one wants them normalized.

This also saves some work, because normalization does boring things for us, such as adding default ipv4/ipv6/proxy settings everywhere.

89d1c9fb3 devices: make sure the generated connections are normalized
src/devices/bluetooth/nm-bluez-device.c | 21 ++++++---------------
src/devices/nm-device.c | 22 ++++++++++++++++++----
2 files changed, 24 insertions(+), 19 deletions(-)

Upstream: cgit.freedesktop.org


  • Share