add code to set ip addresses when an interface with the static proto is brought up
[project/netifd.git] / main.c
diff --git a/main.c b/main.c
index 69aa5cd..4f6a4f6 100644 (file)
--- a/main.c
+++ b/main.c
@@ -6,6 +6,11 @@
 #include "netifd.h"
 #include "ubus.h"
 
+int avl_strcmp(const void *k1, const void *k2, void *ptr)
+{
+       return strcmp(k1, k2);
+}
+
 static int usage(const char *progname)
 {
        fprintf(stderr, "Usage: %s [options]\n"