ifcfg-rh: add support for 802-1x.password-raw property

System Internals / NetworkManager - Beniamino Galvani [redhat.com] - 31 October 2017 09:19 EDT

When the ifcfg-rh plugin writes a 802-1x setting it currently ignores the password-raw property and so the password disappears when the connection is saved. Add support for the property.

a83ab252e ifcfg-rh: add support for 802-1x.password-raw property
Makefile.am | 1 +
libnm-core/nm-setting-8021x.c | 6 ++-
.../plugins/ifcfg-rh/nms-ifcfg-rh-reader.c | 49 ++++++++++++++++------
.../plugins/ifcfg-rh/nms-ifcfg-rh-writer.c | 17 ++++++++
.../ifcfg-test-wired-802-1x-password-raw | 13 ++++++
.../plugins/ifcfg-rh/tests/test-ifcfg-rh.c | 41 ++++++++++++++++++
6 files changed, 113 insertions(+), 14 deletions(-)

Upstream: cgit.freedesktop.org


  • Share