summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-ethernet.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-06-17 18:53:45 +0200
committerThomas Haller <thaller@redhat.com>2016-06-30 08:29:55 +0200
commit6db3c80aba13e401d0f4ed87f65849b985feb2ed (patch)
treea8e8e78f4fe573e763c8fb5e983f0d0532012fd8 /src/devices/nm-device-ethernet.h
parent2a94587232f5ac401cd8d2f13729836f731566f2 (diff)
downloadNetworkManager-6db3c80aba13e401d0f4ed87f65849b985feb2ed.tar.gz
device: implememnt "perm-hw-address" property in NMDevice
Both NMDeviceEthernet and NMDeviceWifi have a property "perm-hw-address". As the hw_addr_perm property is tracked in the parent NMDevice class, let it also implement the GObject property. Then it knows better when to emit a notification about property changes.
Diffstat (limited to 'src/devices/nm-device-ethernet.h')
-rw-r--r--src/devices/nm-device-ethernet.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/nm-device-ethernet.h b/src/devices/nm-device-ethernet.h
index 2d284822d2..e39d689666 100644
--- a/src/devices/nm-device-ethernet.h
+++ b/src/devices/nm-device-ethernet.h
@@ -33,7 +33,6 @@ G_BEGIN_DECLS
#define NM_IS_DEVICE_ETHERNET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_DEVICE_ETHERNET))
#define NM_DEVICE_ETHERNET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DEVICE_ETHERNET, NMDeviceEthernetClass))
-#define NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS "perm-hw-address"
#define NM_DEVICE_ETHERNET_SPEED "speed"
#define NM_DEVICE_ETHERNET_S390_SUBCHANNELS "s390-subchannels"