Add multi-file support.
DLT change detection.

If when writing an output file, error if the DLT of subsequent files is not
the same as the original.
Properly print when dlt changes.

When we open a new file we need to get new printinfo.
Address Michael's comments.

Be more portable when opening stdin.

Refactor reading from VFile into a function.
Merge remote-tracking branch 'upstream/master'
Use PATH_MAX, not NAME_MAX.

NAME_MAX is the maximum length of a file pathname *component*; PATH_MAX
is the maximum length of a file pathname.  We're dealing with pathnames,
so use PATH_MAX.  (On some systems, NAME_MAX can be as low as 14,
presumably for binary compatibility with V7-era data structures
containing file names, as there are probably few if any non-historic
UN*Xes around with 14-character file name limitations.)

Boost the default PATH_MAX to 1024 while we're at it.
More strictly check for numbers as arguments to -i.

Use strtol() and only treat the argument as a number if it's *all*
number, so that interface names such as 192_1_2 aren't treated as
"interface number 192".
Merge branch 'master' of https://github.com/mcr/tcpdump

Conflicts:
	tcpdump.c
"the the" -> "the".
Merge branch 'master' of https://github.com/mcr/tcpdump
Do more verbose logging to the console of output when tests fail so that
I can figure out why some tests are failing in Travis CI.
Add .travis.yml for Travis CI (http://travis-ci.org/)
Simplify the detection of OpenSSL libcrypto by using standard autoconf
macros rather than a local copy of AC_LBL_SSLEAY.

AC_LBL_SSLEAY is old and has not kept pace with some more recent
developments in packaging like Debian and Ubuntu's multiarch support.
The autoconf macros have been updated to handle multiarch so using them
means that tcpdump gains the ability to be built with libcrypto on these
new multiarch distros and to work successfully with Travis CI, which
uses Ubuntu 12, which is one such multiarch distro (see GH-32).

Fixes GH-33
Merge pull request #35 from msabramo/configure_libcrypto

Simplify the detection of OpenSSL libcrypto in configure.in
Merge pull request #32 from msabramo/travis

Add support for using Travis CI for testing
Fix failing Travis CI build (e.g.:
https://travis-ci.org/#!/mcr/tcpdump/builds/2786065)

Remove hacky patching of `configure.in` because this is now redundant
with the change that was accepted in
https://github.com/mcr/tcpdump/pull/32 and it causes patch to prompt for
whether to reverse the patch which makes the Travis build time out.
Merge pull request #28 from wxsBSD/master

Multifile support
Merge pull request #38 from msabramo/remove-travis-patch-hack

Fix failing Travis CI build because of redundant patching
Document -V flag.
The peer polling interval is an exponent; treat it as such.

RFC 1119 says

	Peer Poll Interval (peer.ppoll, pkt.ppoll): This is a signed
	    integer indicating the minimum interval between messages
	    sent by the peer, in seconds as a power of two.  For
	    instance, a alue of six indicates a minimum interval of 64
	    seconds.

so print both the raw value and 2^{raw value}, showing the latter.

Patch from Debian bug 686276.

Reviewed-By: Guy Harris <guy@alum.mit.edu>