iptables-test: Fix builtin chain rule addition
[platform/upstream/connman.git] / tools / resolv-test.c
index 05c3a56..7cb2f6f 100644 (file)
@@ -28,7 +28,7 @@
 #include <string.h>
 #include <signal.h>
 
-#include <gresolv/gresolv.h>
+#include <gweb/gresolv.h>
 
 static GTimer *timer;
 
@@ -139,8 +139,7 @@ int main(int argc, char *argv[])
 
                for (i = 2; i < argc; i++)
                        g_resolv_add_nameserver(resolv, argv[i], 53, 0);
-       } else
-               g_resolv_add_nameserver(resolv, "127.0.0.1", 53, 0);
+       }
 
        timer = g_timer_new();