Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
a2f3e045
Commit
a2f3e045
authored
Jan 12, 2004
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to REUSEPORT instead of REUSEADDR!
parent
7eb2adb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
pxe/bootinfosend.c
pxe/bootinfosend.c
+3
-1
No files found.
pxe/bootinfosend.c
View file @
a2f3e045
...
...
@@ -115,7 +115,7 @@ main(int argc, char **argv)
exit
(
1
);
}
err
=
1
;
if
(
setsockopt
(
sock
,
SOL_SOCKET
,
SO_REUSE
ADDR
,
if
(
setsockopt
(
sock
,
SOL_SOCKET
,
SO_REUSE
PORT
,
(
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment