summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-10-20 21:30:56 -0400
committerDan Winship <danw@gnome.org>2014-11-07 07:49:40 -0500
commitf17699f4e3dacb9358a8503c8b15efe3cb852b48 (patch)
treefc26094c54154b91497b4b5eac72eeca093fedf0 /introspection
parent329791ad55ee66e2d12c3cedcc2daf8c0865f7a6 (diff)
downloadNetworkManager-f17699f4e3dacb9358a8503c8b15efe3cb852b48.tar.gz
libnm-core: add NMSettingIPConfig:gateway, drop NMIPAddress:gateway
The gateway is a global property of the IPv4/IPv6 configuration, not an attribute of any particular address. So represent it as such in the API; remove the gateway from NMIPAddress, and add it to NMSettingIPConfig. Behind the scenes, the gateway is still serialized along with the first address in NMSettingIPConfig:addresses, and is deserialized from that if the settings dictionary doesn't contain a 'gateway' key. Adjust nmcli's interactive mode to prompt for IP addresses and gateway separately. (Patch partly from Jirka Klimeš.)
Diffstat (limited to 'introspection')
0 files changed, 0 insertions, 0 deletions