projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1374258
)
In ofp_packet_to_string(), make tcpdump print Ethernet headers also.
author
Ben Pfaff
<blp@nicira.com>
Mon, 6 Oct 2008 16:38:05 +0000
(09:38 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 6 Oct 2008 16:52:37 +0000
(09:52 -0700)
lib/ofp-print.c
patch
|
blob
|
history
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index 5a1e607894a4154e62b97cfe439da0fbad400432..8f3dbe9dcc57da752d9eb9044007530d656b25da 100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-125,7
+125,7
@@
ofp_packet_to_string(const void *data, size_t len, size_t total_len)
}
rewind(pcap);
- snprintf(command, sizeof command, "tcpdump -n -r /dev/fd/%d 2>/dev/null",
+ snprintf(command, sizeof command, "tcpdump -
e -
n -r /dev/fd/%d 2>/dev/null",
fileno(pcap));
tcpdump = popen(command, "r");
fclose(pcap);