git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2e37c
)
From Kevin Kayes via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6026
author
Alexis La Goutte
<alexis.lagoutte@gmail.com>
Thu, 16 Jun 2011 08:04:31 +0000
(08:04 -0000)
committer
Alexis La Goutte
<alexis.lagoutte@gmail.com>
Thu, 16 Jun 2011 08:04:31 +0000
(08:04 -0000)
Enhance Snoop file reader to include 10Gbit datalink value
svn path=/trunk/; revision=37683
wiretap/snoop.c
patch
|
blob
|
history
diff --git
a/wiretap/snoop.c
b/wiretap/snoop.c
index 552cdbe37e9d8d868b26b553da60e685eceb26fa..b5446e442e247409caa0f69ef984b309383287e1 100644
(file)
--- a/
wiretap/snoop.c
+++ b/
wiretap/snoop.c
@@
-244,7
+244,8
@@
int snoop_open(wtap *wth, int *err, gchar **err_info)
WTAP_ENCAP_UNKNOWN, /* Other */
WTAP_ENCAP_UNKNOWN, /* Other */
WTAP_ENCAP_UNKNOWN, /* Other */
- WTAP_ENCAP_IEEE_802_11_WITH_RADIO,
+ WTAP_ENCAP_IEEE_802_11_WITH_RADIO, /* IEEE 802.11 with Radio Header */
+ WTAP_ENCAP_ETHERNET, /* 10 Gigabit Ethernet */
};
#define NUM_SHOMITI_ENCAPS (sizeof shomiti_encap / sizeof shomiti_encap[0])
int file_encap;