mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 00:40:11 +01:00
keyfile: support NM_SETTING_BRIDGE_MAC_ADDRESS property
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
54e689234d
commit
5e45ec6acc
2 changed files with 7 additions and 0 deletions
|
|
@ -901,6 +901,10 @@ static KeyParser key_parsers[] = {
|
|||
NM_SETTING_CONNECTION_TYPE,
|
||||
TRUE,
|
||||
setting_alias_parser },
|
||||
{ NM_SETTING_BRIDGE_SETTING_NAME,
|
||||
NM_SETTING_BRIDGE_MAC_ADDRESS,
|
||||
TRUE,
|
||||
mac_address_parser_ETHER },
|
||||
{ NM_SETTING_IP4_CONFIG_SETTING_NAME,
|
||||
NM_SETTING_IP4_CONFIG_ADDRESSES,
|
||||
FALSE,
|
||||
|
|
|
|||
|
|
@ -774,6 +774,9 @@ static KeyWriter key_writers[] = {
|
|||
{ NM_SETTING_CONNECTION_SETTING_NAME,
|
||||
NM_SETTING_CONNECTION_TYPE,
|
||||
setting_alias_writer },
|
||||
{ NM_SETTING_BRIDGE_SETTING_NAME,
|
||||
NM_SETTING_BRIDGE_MAC_ADDRESS,
|
||||
mac_address_writer },
|
||||
{ NM_SETTING_IP4_CONFIG_SETTING_NAME,
|
||||
NM_SETTING_IP4_CONFIG_ADDRESSES,
|
||||
ip4_addr_writer },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue