projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compiler warnings
[project/netifd.git]
/
system-dummy.c
diff --git
a/system-dummy.c
b/system-dummy.c
index
f24f686
..
eab9277
100644
(file)
--- a/
system-dummy.c
+++ b/
system-dummy.c
@@
-1,6
+1,10
@@
#include <stdio.h>
#include <string.h>
+#ifndef DEBUG
+#define DEBUG
+#endif
+
#include "netifd.h"
#include "device.h"
@@
-57,7
+61,7
@@
int system_if_check(struct device *dev)
dev->ifindex = 0;
if (!strcmp(dev->ifname, "eth0"))
-
set_device
_present(dev, true);
+
device_set
_present(dev, true);
return 0;
}