mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 14:00:18 +01:00
Do "bother" to read/write settings. For the umpteenth time, it's not up to the reader/writer to decide what properties are valid for a profile or which makes sense. Only nm_connection_verify() can decide that. For example nm_connection_verify() has no problem with ipv6.method=disabled while also setting ipv6.addr-gen-mode. We cannot just shortcut the parsing/writing. The reader only ignores addresses, dns and dns-searches, so that we don't start parsing invalid files, where the setting would have been ignore previously. In particular, echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-xxx nmcli connection load /etc/sysconfig/network-scripts/ifcfg-xxx nmcli -f ipv6.method,ipv6.addr-gen-mode connection show /etc/sysconfig/network-scripts/ifcfg-xxx needs to show eui64 addr-gen-mode. |
||
|---|---|---|
| .. | ||
| plugins | ||
| nm-agent-manager.c | ||
| nm-agent-manager.h | ||
| nm-secret-agent.c | ||
| nm-secret-agent.h | ||
| nm-settings-connection.c | ||
| nm-settings-connection.h | ||
| nm-settings-plugin.c | ||
| nm-settings-plugin.h | ||
| nm-settings-storage.c | ||
| nm-settings-storage.h | ||
| nm-settings-utils.c | ||
| nm-settings-utils.h | ||
| nm-settings.c | ||
| nm-settings.h | ||