Commit a2f3e045 authored by Leigh Stoller's avatar Leigh Stoller

Change to REUSEPORT instead of REUSEADDR!

parent 7eb2adb6
......@@ -115,7 +115,7 @@ main(int argc, char **argv)
exit(1);
}
err = 1;
if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
if (setsockopt(sock, SOL_SOCKET, SO_REUSEPORT,
(char *)&err, sizeof(err)) < 0)
errorc("setsockopt(SO_REUSEADDR)");
......@@ -128,6 +128,8 @@ main(int argc, char **argv)
exit(1);
}
sleep(10);
bzero(&boot_info, sizeof(boot_info));
boot_info.version = BIVERSION_CURRENT;
if (reboot) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment