diff options
author | Dan Winship <danw@gnome.org> | 2014-08-07 10:47:56 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-09-04 09:18:43 -0400 |
commit | 7314256b77de1ffee2029e1e409de87d8e260621 (patch) | |
tree | f54680a566655cd6a812de1663852da323bd2163 /libnm | |
parent | 608b13e797af842f7fa18cfea1fececd3f19be85 (diff) | |
download | NetworkManager-7314256b77de1ffee2029e1e409de87d8e260621.tar.gz |
libnm-core: drop nm_{setting,connection}_get_virtual_iface_name()
Since we enforce the fact that bond, bridge, team, and vlan
interface-name properties match NMSettingConnection:interface-name,
nm_connection_get_virtual_iface_name() can be replaced with
nm_connection_get_interface_name() basically everywhere.
The one place this doesn't work is with InfiniBand partitions (where
get_virtual_iface_name() was actually computing the name), but for the
most part we only need to care about the interface names of InfiniBand
partitions in places where we also already need to do some other
InfiniBand-specific handling as well, so we can use an
InfiniBand-specific method
(nm_setting_infiniband_get_virtual_interface_name()) to get it.
(Also, while updating nm_device_get_virtual_device_description(), fix
it to handle InfiniBand partitions too.)
Diffstat (limited to 'libnm')
-rw-r--r-- | libnm/libnm.ver | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libnm/libnm.ver b/libnm/libnm.ver index 7ad57bcc3f..53fb404a26 100644 --- a/libnm/libnm.ver +++ b/libnm/libnm.ver @@ -117,7 +117,6 @@ global: nm_connection_get_type; nm_connection_get_uuid; nm_connection_get_virtual_device_description; - nm_connection_get_virtual_iface_name; nm_connection_is_type; nm_connection_need_secrets; nm_connection_normalize; @@ -579,7 +578,6 @@ global: nm_setting_get_name; nm_setting_get_secret_flags; nm_setting_get_type; - nm_setting_get_virtual_iface_name; nm_setting_gsm_error_get_type; nm_setting_gsm_error_quark; nm_setting_gsm_get_apn; @@ -601,6 +599,7 @@ global: nm_setting_infiniband_get_parent; nm_setting_infiniband_get_transport_mode; nm_setting_infiniband_get_type; + nm_setting_infiniband_get_virtual_interface_name; nm_setting_infiniband_new; nm_setting_ip4_config_add_address; nm_setting_ip4_config_add_dns; |