From Kevin Kayes via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6026
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Thu, 16 Jun 2011 08:04:31 +0000 (08:04 -0000)
committerAlexis 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

index 552cdbe37e9d8d868b26b553da60e685eceb26fa..b5446e442e247409caa0f69ef984b309383287e1 100644 (file)
@@ -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;