Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
92958dbe
Commit
92958dbe
authored
Dec 15, 2004
by
David Johnson
Browse files
* (all files for this commit):
- changes so that networking code will compile under linux.
parent
3684ae5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
robots/emc/emcd.c
View file @
92958dbe
...
...
@@ -312,7 +312,9 @@ int main(int argc, char *argv[])
}
memset
(
&
sin
,
0
,
sizeof
(
sin
));
#ifndef linux
sin
.
sin_len
=
sizeof
(
sin
);
#endif
sin
.
sin_family
=
AF_INET
;
sin
.
sin_port
=
htons
(
port
);
sin
.
sin_addr
.
s_addr
=
INADDR_ANY
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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