Make it easier to bring up tun/tap devices
[vsys-scripts.git] / support / pltun.c
similarity index 92%
rename from support/tun_test.c
rename to support/pltun.c
index 947019f..49e2d7e 100644 (file)
@@ -18,7 +18,8 @@ int main(void)
 
     printf("Sleeping for 120 secs...\n");
 
-    sleep(120);
+    while (1)
+        sleep(120);
 
     printf("Closing\n");