Skip to content
GitLab
Menu
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-devel
Commits
4dcbc85f
Commit
4dcbc85f
authored
Jan 19, 2006
by
Robert Ricci
Browse files
Nit, fix the number of zeros padding the number of milliseconds.
parent
a611a763
Changes
1
Hide whitespace changes
Inline
Side-by-side
pelab/libnetmon/libnetmon.c
View file @
4dcbc85f
...
@@ -174,7 +174,7 @@ void log_packet(int fd, size_t len) {
...
@@ -174,7 +174,7 @@ void log_packet(int fd, size_t len) {
/*
/*
fprintf(stderr,"%lu.%08lu [%i, %i]\n",time.tv_sec, time.tv_usec, fd,len);
fprintf(stderr,"%lu.%08lu [%i, %i]\n",time.tv_sec, time.tv_usec, fd,len);
*/
*/
fprintf
(
stderr
,
"%lu.%0
8
lu > %s.%i (%i)
\n
"
,
time
.
tv_sec
,
time
.
tv_usec
,
fprintf
(
stderr
,
"%lu.%0
6
lu > %s.%i (%i)
\n
"
,
time
.
tv_sec
,
time
.
tv_usec
,
monitorFDs
[
fd
].
remote_hostname
,
monitorFDs
[
fd
].
remote_port
,
len
);
monitorFDs
[
fd
].
remote_hostname
,
monitorFDs
[
fd
].
remote_port
,
len
);
}
}
...
...
Write
Preview
Supports
Markdown
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