projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix use-after-free on device free codepath due to recursion issues, and fix dev-...
[project/netifd.git]
/
netifd.h
diff --git
a/netifd.h
b/netifd.h
index
8330aff
..
9bf3f98
100644
(file)
--- a/
netifd.h
+++ b/
netifd.h
@@
-19,7
+19,7
@@
#define DEFAULT_RESOLV_CONF "./tmp/resolv.conf"
#else
#define DEFAULT_MAIN_PATH "/lib/netifd"
#define DEFAULT_RESOLV_CONF "./tmp/resolv.conf"
#else
#define DEFAULT_MAIN_PATH "/lib/netifd"
-#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-c
md
"
+#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-c
all
"
#define DEFAULT_RESOLV_CONF "/tmp/resolv.conf.auto"
#endif
#define DEFAULT_RESOLV_CONF "/tmp/resolv.conf.auto"
#endif
@@
-28,6
+28,14
@@
extern char *hotplug_cmd_path;
extern unsigned int debug_mask;
enum {
extern unsigned int debug_mask;
enum {
+ L_CRIT,
+ L_WARNING,
+ L_NOTICE,
+ L_INFO,
+ L_DEBUG
+};
+
+enum {
DEBUG_SYSTEM = 0,
DEBUG_DEVICE = 1,
DEBUG_INTERFACE = 2,
DEBUG_SYSTEM = 0,
DEBUG_DEVICE = 1,
DEBUG_INTERFACE = 2,