fix function 'msnlb_print', unused parameter 'length'
print-sflow.c: print agent_id instead of samples
Add tests for wrong agent-id
4.4.x has its own branch; the trunk is for 4.5.x.
Add some additional changes.
We don't define PRIu8 or PRIx8 if the C environment doesn't; don't use it.

The right format to use to print 8-bit quantities isn't
implementation-dependent, so no need to use the PRIu8 and PRIx8 macros.

There's also no need for an empty string after PRIu64.  Separate it with
space from the strings with which it's being concatenated, however; we
do that elsewhere.
Declare vxlan_print() and otv_print() in interface.h, and fix its definition.

They doesn't use their third argument, and they aren't being passed a
third argument, so get rid of that argument.
Fix handling of V3 and V4 BPDUs.

Make the offsets and lengths 32-bit, so that they don't overflow.

Pull the handling of V4 fields into its own routine.  Call it only if
the packet's been identified as a V4 packet and the length is sane; call
the routine to handle V3 fields before we do any V4 work.
Get rid of declarations in the middle of code; they're not valid C.

Reviewed-By: Guy Harris <guy@alum.mit.edu>
Don't print the SPB stuff in non-verbose mode.

Before the previous change, we didn't print it; restore that behavior.

Also update a comment - DEFAULT_SNAPLEN is now pretty large, so we
should capture the entire packet by default.
Stop reading multiple files properly on cleanup.

Prior to this if pcap_breakloop() is called in cleanup() while reading
multiple files (via -V) the code would fall through and open the next
file in the list. With this change the list is cut short and the program
exits normally.
Merge pull request #60 from wxsBSD/master

Fix SIGINT with multiple file reading.
Merge pull request #58 from rubenk/master

print-sflow.c: print agent_id instead of number of samples in non-verbose mode
Merge pull request #57 from fxlb/master

Fix function 'msnlb_print', unused parameter 'length'
Check for extra networking libraries before checking for IPv6.

On some platforms, such as SunOS 5.x, building the "do we have IPv6
support?" test program requires the extra networking libraries, so we
need to know what extra networking libraries are required before doing
that test.
Note that we fixed the IPv6 check for Solaris.
There's another Cisco-private encapsulation of BPDUs.

At least according to the Wireshark STP dissector, SNAP frames with the
Cisco OUI and a PID of 0x010c contain BPDUs, for "VLAN Bridge".
If we get SIGCHLD, restart whatever system call it interrupted.

When compressing output with -z, we do so by creating a child process to
run gzip and pipe to it, and we catch SIGCHLD to clean up after the
child process.  We don't want the SIGCHLD to show up as an "Interrupted
system call" error, so we specify that SIGCHLD should restart, rather
than interrupting, system calls.
added Ruben
There's another Cisco-private encapsulation of BPDUs.

At least according to the Wireshark STP dissector, SNAP frames with the
Cisco OUI and a PID of 0x010c contain BPDUs, for "VLAN Bridge".