summaryrefslogtreecommitdiff
path: root/system-dummy.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-12 23:25:21 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-07-12 23:25:21 +0200
commite4285cdc1bda303b01bbf2a43340d3f40f477820 (patch)
tree616ece985939699ba363a52da81162785918cf44 /system-dummy.c
parentf096d021fb4119a449a7980e1667c2033491dba7 (diff)
downloadnetifd-e4285cdc1bda303b01bbf2a43340d3f40f477820.tar.gz
expose system_if_apply_settings, make it ignore the mac address for external devices
Diffstat (limited to 'system-dummy.c')
-rw-r--r--system-dummy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c
index a2411f3..f77d9c6 100644
--- a/system-dummy.c
+++ b/system-dummy.c
@@ -119,6 +119,11 @@ system_if_dump_stats(struct device *dev, struct blob_buf *b)
return 0;
}
+void
+system_if_apply_settings(struct device *dev, struct device_settings *s)
+{
+}
+
int system_add_address(struct device *dev, struct device_addr *addr)
{
uint8_t *a = (uint8_t *) &addr->addr.in;