mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 00:00:14 +01:00
The interface-name property has several deprecated aliases, like "bridge.interface-name". For backward compatibility, we keep handling them. In particular, the "missing_from_dbus_fcn" handler is set. This handles the case where GVariant only contains the deprecated form, but not "connection.interface-name". Previously, from_dbus_fcn() would check whether the deprecated form was present, and -- only if that form was invalid -- prefer it. The idea was to fail validation if the deprecated property was invalid. I think that is not necessary. Just completely ignore the deprecated property, if the new property is present. What might make sense is to check whether the deprecated and the new form are both present, that they are identical. However, I don't think that is worth the effort. |
||
|---|---|---|
| .. | ||
| certs | ||
| meson.build | ||
| nm-core-tests-enum-types.c.template | ||
| nm-core-tests-enum-types.h.template | ||
| test-compare.c | ||
| test-crypto.c | ||
| test-general-enums.h | ||
| test-general.c | ||
| test-keyfile.c | ||
| test-secrets.c | ||
| test-setting.c | ||
| test-settings-defaults.c | ||