Update to handle version 9.

svn path=/trunk/; revision=50981
As caught by Stig: 64-bit value strings could print the field name twice.

Don't do that.

svn path=/trunk/; revision=50982
Much simpler (and possibly faster) fix for the 64-bit value string label issue.

svn path=/trunk/; revision=50983
Add a comment.

In recent_add_cfilter(), the list we're working on is cfilter_list;
properly remove an item from it - don't assign the result to
recent_cfilter_list, assign it to cfilter_list.  This may fix some
crashes and Valgrind errors.

svn path=/trunk/; revision=50984
Explain what the big loop in update_properties_all() is doing, and
what's done after that.

If we want to set the all-interfaces capture filter string, just set it,
don't add anything to the drop-down list for it.

If, after we've succeeded starting a capture, all active interfaces have
the same capture filter, *do* add that filter to the all-interfaces
recent capture filters list.

Also, free g_strduped capture filter strings when we're done with them.

svn path=/trunk/; revision=50986
Add support for 64 bit value string in Lua.

Lua cannot store a 64 bit integer with full precision, which is used
for keys in tables, so this is not a 100% solution.  But it will probably
be good enough for value strings, and it is better to have some support
than no support.

svn path=/trunk/; revision=50988
If a core Wireshark developer repeatedly can't remember that the
argument to the -F flag for pcap format is "libpcap", not "pcap", we
have a problem.  Make it "pcap", and add a backwards-compatibility hack
to support using "libpcap" as well.

Update the man pages to refer to it as pcap as well, and fix the
capitalization of "WinPcap" (see http://www.winpcap.org) while we're at
it.

Also, refer to http://www.tcpdump.org/linktypes.html for the list of
link-layer header types for pcap and pcap-ng.

svn path=/trunk/; revision=50989
Remove unused variable caught by GCC 4.8.

svn path=/trunk/; revision=50992
Close a memory leak.

svn path=/trunk/; revision=50993
From Linas Vepstas via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8962

Enhancement: Add STANAG 4607 file format

svn path=/trunk/; revision=50996
Use the portable g_ntohl, also add some casts.

svn path=/trunk/; revision=50997
Clean up white space a bit, make the description of the capture column
type depend on what values are supported, add some comments.

Regularize the curly bracket style a bit.

svn path=/trunk/; revision=50998
Add a URL for a STANAG 4607 spec.

Fix some typoes in comments.

svn path=/trunk/; revision=50999
The base_secs value should be a time_t, as it's calculated using
mktime().  That eliminates the need for casts.

It should *also* be part of a per-wtap-structure private data structure,
not a global variable; make it so.

svn path=/trunk/; revision=51000
Make non-static a variable that doesn't need to be static.

svn path=/trunk/; revision=51001
Make a never-changed table const.

svn path=/trunk/; revision=51002
Make a never-changed pile-o-zeroes const.

svn path=/trunk/; revision=51003
Try to fix error: uninitialized const 'zeroes' is invalid in C++ [-Werror=c++-compat]

svn path=/trunk/; revision=51004
The argument to the -l flag to text2pcap is a LINKTYPE_ value, not a
DLT_ value, which is good because it's a numerical value and the
numerical values for some link-layer header types are OS-dependent, but
the numerical values for all LINKTYPE_ values are OS-independent.  Use
LINKTYPE_RAW, not the value for the DLT_RAW on some but not all OSes,
for raw IP.

Also, 7 is LINKTYPE_ARCNET_BSD, emphasis on the "_BSD"; there's also a
Linux encapsulation for ARCNet that is different.  Note that it's the
BSD flavor.

svn path=/trunk/; revision=51005
In the comments for pcap_link_type, point to
http://www.tcpdump.org/linktypes.html for the details, rather than to
some particular OS's net/bpf.h (assuming it even has one), and speak of
it as a LINKTYPE_ value rather than a DLT_ value (in those cases where
the LINKTYPE_ value for a given link-layer header type is different from
the DLT_ value, it's the LINKTYPE_ value that should be passed to
text2pcap, as it's what gets written to the file, and those should be
the always-platform-independent LINKTYPE_ values rather than the
possibly-platform-dependent DLT_ values).

svn path=/trunk/; revision=51008