X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=netifd.h;h=9bf3f98b6885d2af0c76c6449730b38fdc1c3608;hp=8330aff47eb1044b1f0541164f98b6817479bf0b;hb=f5ca090c260a74fd3576f79ffb8799e8c20e3878;hpb=39f9caf261f99a4c944c59ad2be0473051fd43ec diff --git a/netifd.h b/netifd.h index 8330aff..9bf3f98 100644 --- 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_HOTPLUG_PATH "/sbin/hotplug-cmd" +#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-call" #define DEFAULT_RESOLV_CONF "/tmp/resolv.conf.auto" #endif @@ -28,6 +28,14 @@ extern char *hotplug_cmd_path; 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,