git://git.onelab.eu
/
vsys-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make it easier to bring up tun/tap devices
[vsys-scripts.git]
/
support
/
pltap.c
diff --git
a/support/tap_test.c
b/support/pltap.c
similarity index 92%
rename from
support/tap_test.c
rename to
support/pltap.c
index
947019f
..
49e2d7e
100644
(file)
--- a/
support/tap_test.c
+++ b/
support/pltap.c
@@
-18,7
+18,8
@@
int main(void)
printf("Sleeping for 120 secs...\n");
- sleep(120);
+ while (1)
+ sleep(120);
printf("Closing\n");