projects
/
oweals
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dd38d3
)
Wait 1 second between disable and enable calls
author
Steven Barth
<steven@midlink.org>
Thu, 29 Nov 2012 17:14:02 +0000
(18:14 +0100)
committer
Steven Barth
<steven@midlink.org>
Thu, 29 Nov 2012 17:14:02 +0000
(18:14 +0100)
src/odhcp6c.c
patch
|
blob
|
history
diff --git
a/src/odhcp6c.c
b/src/odhcp6c.c
index b517204829d20fc5e02f17f07e41dcb2457d95b1..940acd56356c917eed967f293988617e8968fbba 100644
(file)
--- a/
src/odhcp6c.c
+++ b/
src/odhcp6c.c
@@
-150,6
+150,8
@@
int main(_unused int argc, char* const argv[])
if (reset) {
sysctl_interface(ifname, "accept_ra", "2");
sysctl_interface(ifname, "disable_ipv6", "1");
+ struct timespec ts = {1, 0};
+ nanosleep(&ts, NULL);
sysctl_interface(ifname, "disable_ipv6", "0");
}