svn commit: r313024 - in vendor/tcpdump/dist: . lbl missing tests win32/Include win32/prj win32/src

Gleb Smirnoff glebius at FreeBSD.org
Tue Jan 31 19:17:08 UTC 2017


Author: glebius
Date: Tue Jan 31 19:17:06 2017
New Revision: 313024
URL: https://svnweb.freebsd.org/changeset/base/313024

Log:
  Import tcpdump-4.9.0 into dist.

Added:
  vendor/tcpdump/dist/CONTRIBUTING
  vendor/tcpdump/dist/PLATFORMS
  vendor/tcpdump/dist/README   (contents, props changed)
  vendor/tcpdump/dist/addrtostr.c   (contents, props changed)
  vendor/tcpdump/dist/addrtostr.h   (contents, props changed)
  vendor/tcpdump/dist/ascii_strcasecmp.c   (contents, props changed)
  vendor/tcpdump/dist/ascii_strcasecmp.h   (contents, props changed)
  vendor/tcpdump/dist/netdissect-stdinc.h   (contents, props changed)
  vendor/tcpdump/dist/netdissect.c   (contents, props changed)
  vendor/tcpdump/dist/print-hncp.c   (contents, props changed)
  vendor/tcpdump/dist/print-lisp.c   (contents, props changed)
  vendor/tcpdump/dist/print-medsa.c   (contents, props changed)
  vendor/tcpdump/dist/print-nsh.c   (contents, props changed)
  vendor/tcpdump/dist/print-resp.c   (contents, props changed)
  vendor/tcpdump/dist/print-vxlan-gpe.c   (contents, props changed)
  vendor/tcpdump/dist/print.c   (contents, props changed)
  vendor/tcpdump/dist/print.h   (contents, props changed)
  vendor/tcpdump/dist/strtoaddr.c   (contents, props changed)
  vendor/tcpdump/dist/strtoaddr.h   (contents, props changed)
  vendor/tcpdump/dist/tests/OLSRv1_HNA_sgw_1.out
  vendor/tcpdump/dist/tests/OLSRv1_HNA_sgw_1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/RADIUS-port1700.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/aarp-heapoverflow-1.out
  vendor/tcpdump/dist/tests/aarp-heapoverflow-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/aarp-heapoverflow-2.out
  vendor/tcpdump/dist/tests/aarp-heapoverflow-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/arp-too-long-tha.out
  vendor/tcpdump/dist/tests/arp-too-long-tha.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/atm-heapoverflow.out
  vendor/tcpdump/dist/tests/atm-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/atm-oam-heapoverflow.out
  vendor/tcpdump/dist/tests/atm-oam-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/bad-ipv4-version-pgm-heapoverflow.out
  vendor/tcpdump/dist/tests/bad-ipv4-version-pgm-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/bfd-raw-auth-md5-v.out
  vendor/tcpdump/dist/tests/bfd-raw-auth-md5.out
  vendor/tcpdump/dist/tests/bfd-raw-auth-md5.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/bfd-raw-auth-sha1-v.out
  vendor/tcpdump/dist/tests/bfd-raw-auth-sha1.out
  vendor/tcpdump/dist/tests/bfd-raw-auth-sha1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/bfd-raw-auth-simple-v.out
  vendor/tcpdump/dist/tests/bfd-raw-auth-simple.out
  vendor/tcpdump/dist/tests/bfd-raw-auth-simple.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/bgp-aigp.out
  vendor/tcpdump/dist/tests/bgp-aigp.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/bgp-large-community.out
  vendor/tcpdump/dist/tests/bgp-large-community.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/calm-fast-mac-lookup-heapoverflow.out
  vendor/tcpdump/dist/tests/calm-fast-mac-lookup-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/cve-2014-8767-OLSR.out
  vendor/tcpdump/dist/tests/cve-2014-8767-OLSR.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/cve-2014-8768-Geonet.out
  vendor/tcpdump/dist/tests/cve-2014-8768-Geonet.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/cve-2014-8769-AODV.out
  vendor/tcpdump/dist/tests/cve-2014-8769-AODV.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/dhcp-mud.out
  vendor/tcpdump/dist/tests/dhcp-mud.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/dhcpv6-mud.out
  vendor/tcpdump/dist/tests/dhcpv6-mud.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/dnssec-vv.out
  vendor/tcpdump/dist/tests/dnssec.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/frf15-heapoverflow.out
  vendor/tcpdump/dist/tests/frf15-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/geonet-mac-lookup-heapoverflow.out
  vendor/tcpdump/dist/tests/geonet-mac-lookup-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/gre-heapoverflow-1.out
  vendor/tcpdump/dist/tests/gre-heapoverflow-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/gre-heapoverflow-2.out
  vendor/tcpdump/dist/tests/gre-heapoverflow-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heap-overflow-1.out
  vendor/tcpdump/dist/tests/heap-overflow-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heap-overflow-2.out
  vendor/tcpdump/dist/tests/heap-overflow-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heapoverflow-EXTRACT_16BITS.out
  vendor/tcpdump/dist/tests/heapoverflow-EXTRACT_16BITS.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heapoverflow-atalk_print.out
  vendor/tcpdump/dist/tests/heapoverflow-atalk_print.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heapoverflow-in_checksum.out
  vendor/tcpdump/dist/tests/heapoverflow-in_checksum.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heapoverflow-ip_print_demux.out
  vendor/tcpdump/dist/tests/heapoverflow-ip_print_demux.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heapoverflow-ppp_hdlc_if_print.out
  vendor/tcpdump/dist/tests/heapoverflow-ppp_hdlc_if_print.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heapoverflow-q933_printq.out
  vendor/tcpdump/dist/tests/heapoverflow-q933_printq.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heapoverflow-sl_if_print.out
  vendor/tcpdump/dist/tests/heapoverflow-sl_if_print.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/heapoverflow-tcp_print.out
  vendor/tcpdump/dist/tests/heapoverflow-tcp_print.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/hncp.out
  vendor/tcpdump/dist/tests/hncp.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/ikev2pI2-segfault-v.out
  vendor/tcpdump/dist/tests/ikev2pI2-segfault.out
  vendor/tcpdump/dist/tests/ikev2pI2-segfault.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/ipcomp-heapoverflow.out
  vendor/tcpdump/dist/tests/ipcomp-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/ipv6hdr-heapoverflow-v.out
  vendor/tcpdump/dist/tests/ipv6hdr-heapoverflow.out
  vendor/tcpdump/dist/tests/ipv6hdr-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/isis-seg-fault-1-v.out
  vendor/tcpdump/dist/tests/isis-seg-fault-1-v.sh   (contents, props changed)
  vendor/tcpdump/dist/tests/isis-seg-fault-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/isis-seg-fault-2-v.out
  vendor/tcpdump/dist/tests/isis-seg-fault-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/isis-seg-fault-3-v.out
  vendor/tcpdump/dist/tests/isis-seg-fault-3.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/isis_poi.out
  vendor/tcpdump/dist/tests/isis_poi.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/isis_poi2.out
  vendor/tcpdump/dist/tests/isis_poi2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/isoclns-heapoverflow-2.out
  vendor/tcpdump/dist/tests/isoclns-heapoverflow-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/isoclns-heapoverflow-3.out
  vendor/tcpdump/dist/tests/isoclns-heapoverflow-3.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/isoclns-heapoverflow.out
  vendor/tcpdump/dist/tests/isoclns-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/juniper_header-heapoverflow.out
  vendor/tcpdump/dist/tests/juniper_header-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/lisp_eid_notify.out
  vendor/tcpdump/dist/tests/lisp_eid_notify.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/lisp_eid_register.out
  vendor/tcpdump/dist/tests/lisp_eid_register.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/lisp_ipv6.out
  vendor/tcpdump/dist/tests/lisp_ipv6.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/llc-xid-heapoverflow.out
  vendor/tcpdump/dist/tests/llc-xid-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/lldp_mudurl-v.out
  vendor/tcpdump/dist/tests/lldp_mudurl-vv.out
  vendor/tcpdump/dist/tests/lldp_mudurl.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/lspping-fec-ldp-v.out
  vendor/tcpdump/dist/tests/lspping-fec-ldp-vv.out
  vendor/tcpdump/dist/tests/lspping-fec-ldp.out
  vendor/tcpdump/dist/tests/lspping-fec-rsvp-v.out
  vendor/tcpdump/dist/tests/lspping-fec-rsvp-vv.out
  vendor/tcpdump/dist/tests/lspping-fec-rsvp.out
  vendor/tcpdump/dist/tests/medsa-e.out
  vendor/tcpdump/dist/tests/medsa.out
  vendor/tcpdump/dist/tests/medsa.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/mpls-label-heapoverflow.out
  vendor/tcpdump/dist/tests/mpls-label-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/mpls-traceroute-v.out
  vendor/tcpdump/dist/tests/mpls-traceroute.out
  vendor/tcpdump/dist/tests/nfs-seg-fault-1.out
  vendor/tcpdump/dist/tests/nfs-seg-fault-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/nsh-over-vxlan-gpe-v.out
  vendor/tcpdump/dist/tests/nsh-over-vxlan-gpe-vv.out
  vendor/tcpdump/dist/tests/nsh-over-vxlan-gpe-vvv.out
  vendor/tcpdump/dist/tests/nsh-over-vxlan-gpe.out
  vendor/tcpdump/dist/tests/nsh-over-vxlan-gpe.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/ospf2-seg-fault-1-v.out
  vendor/tcpdump/dist/tests/ospf2-seg-fault-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/otv-heapoverflow-1.out
  vendor/tcpdump/dist/tests/otv-heapoverflow-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/otv-heapoverflow-2.out
  vendor/tcpdump/dist/tests/otv-heapoverflow-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/pcap-invalid-version-1.out
  vendor/tcpdump/dist/tests/pcap-invalid-version-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/pcap-invalid-version-2.out
  vendor/tcpdump/dist/tests/pcap-invalid-version-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/pcap-ng-invalid-vers-1.out
  vendor/tcpdump/dist/tests/pcap-ng-invalid-vers-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/pcap-ng-invalid-vers-2.out
  vendor/tcpdump/dist/tests/pcap-ng-invalid-vers-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/q933-heapoverflow-2.out
  vendor/tcpdump/dist/tests/q933-heapoverflow-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/radiotap-heapoverflow.out
  vendor/tcpdump/dist/tests/radiotap-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/radius-port1700-v.out
  vendor/tcpdump/dist/tests/relts-0x80000000.out
  vendor/tcpdump/dist/tests/relts-0x80000000.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/resp_1.out
  vendor/tcpdump/dist/tests/resp_1_benchmark.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/resp_2.out
  vendor/tcpdump/dist/tests/resp_2_inline.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/resp_3.out
  vendor/tcpdump/dist/tests/resp_3_malicious.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/rsvp-inf-loop-2-v.out
  vendor/tcpdump/dist/tests/rsvp-inf-loop-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/rtp-seg-fault-1.out
  vendor/tcpdump/dist/tests/rtp-seg-fault-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/rtp-seg-fault-2.out
  vendor/tcpdump/dist/tests/rtp-seg-fault-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/scps_invalid.out
  vendor/tcpdump/dist/tests/scps_invalid.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/snmp-heapoverflow-1.out
  vendor/tcpdump/dist/tests/snmp-heapoverflow-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/snmp-heapoverflow-2.out
  vendor/tcpdump/dist/tests/snmp-heapoverflow-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/spb_bpduv4-v.out
  vendor/tcpdump/dist/tests/stp-heapoverflow-1.out
  vendor/tcpdump/dist/tests/stp-heapoverflow-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/stp-heapoverflow-2.out
  vendor/tcpdump/dist/tests/stp-heapoverflow-2.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/stp-heapoverflow-3.out
  vendor/tcpdump/dist/tests/stp-heapoverflow-3.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/stp-heapoverflow-4.out
  vendor/tcpdump/dist/tests/stp-heapoverflow-4.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/stp-heapoverflow-5.out
  vendor/tcpdump/dist/tests/stp-heapoverflow-5.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/tcp-auth-heapoverflow.out
  vendor/tcpdump/dist/tests/tcp-auth-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/tcp_header_heapoverflow.out
  vendor/tcpdump/dist/tests/tcp_header_heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/tftp-heapoverflow.out
  vendor/tcpdump/dist/tests/tftp-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/trunc_aack.out
  vendor/tcpdump/dist/tests/truncated-aack.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/udld-inf-loop-1-v.out
  vendor/tcpdump/dist/tests/udld-inf-loop-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/udp-length-heapoverflow.out
  vendor/tcpdump/dist/tests/udp-length-heapoverflow.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/unaligned-nfs-1.out
  vendor/tcpdump/dist/tests/unaligned-nfs-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/vxlan.out
  vendor/tcpdump/dist/tests/vxlan.pcap   (contents, props changed)
  vendor/tcpdump/dist/tests/zmtp1-inf-loop-1.out
  vendor/tcpdump/dist/tests/zmtp1-inf-loop-1.pcap   (contents, props changed)
  vendor/tcpdump/dist/timeval-operations.h   (contents, props changed)
  vendor/tcpdump/dist/util-print.c   (contents, props changed)
  vendor/tcpdump/dist/win32/prj/WinDump.sln
  vendor/tcpdump/dist/win32/prj/WinDump.vcproj
  vendor/tcpdump/dist/win32/src/
  vendor/tcpdump/dist/win32/src/ether_ntohost.c   (contents, props changed)
Deleted:
  vendor/tcpdump/dist/atmuni31.h
  vendor/tcpdump/dist/missing/addrinfo.h
  vendor/tcpdump/dist/missing/getnameinfo.c
  vendor/tcpdump/dist/missing/inet_aton.c
  vendor/tcpdump/dist/missing/inet_ntop.c
  vendor/tcpdump/dist/missing/inet_pton.c
  vendor/tcpdump/dist/strcasecmp.c
  vendor/tcpdump/dist/tcpdump-stdinc.h
  vendor/tcpdump/dist/tests/failure-outputs.txt
  vendor/tcpdump/dist/util.c
  vendor/tcpdump/dist/win32/Include/
Modified:
  vendor/tcpdump/dist/CHANGES
  vendor/tcpdump/dist/CREDITS
  vendor/tcpdump/dist/INSTALL.txt   (contents, props changed)
  vendor/tcpdump/dist/Makefile.in
  vendor/tcpdump/dist/VERSION
  vendor/tcpdump/dist/aclocal.m4
  vendor/tcpdump/dist/addrtoname.c
  vendor/tcpdump/dist/addrtoname.h
  vendor/tcpdump/dist/af.c
  vendor/tcpdump/dist/af.h
  vendor/tcpdump/dist/bpf_dump.c
  vendor/tcpdump/dist/checksum.c   (contents, props changed)
  vendor/tcpdump/dist/config.h.in
  vendor/tcpdump/dist/configure
  vendor/tcpdump/dist/configure.in
  vendor/tcpdump/dist/cpack.c
  vendor/tcpdump/dist/cpack.h
  vendor/tcpdump/dist/ether.h
  vendor/tcpdump/dist/ethertype.h
  vendor/tcpdump/dist/extract.h
  vendor/tcpdump/dist/gmpls.c
  vendor/tcpdump/dist/gmt2local.c
  vendor/tcpdump/dist/in_cksum.c   (contents, props changed)
  vendor/tcpdump/dist/interface.h
  vendor/tcpdump/dist/ip.h
  vendor/tcpdump/dist/ip6.h
  vendor/tcpdump/dist/ipproto.c
  vendor/tcpdump/dist/l2vpn.c
  vendor/tcpdump/dist/l2vpn.h
  vendor/tcpdump/dist/lbl/os-solaris2.h
  vendor/tcpdump/dist/lbl/os-sunos4.h
  vendor/tcpdump/dist/lbl/os-ultrix4.h
  vendor/tcpdump/dist/machdep.c
  vendor/tcpdump/dist/machdep.h
  vendor/tcpdump/dist/mib.h
  vendor/tcpdump/dist/missing/datalinks.c
  vendor/tcpdump/dist/missing/dlnames.c
  vendor/tcpdump/dist/missing/snprintf.c
  vendor/tcpdump/dist/missing/strdup.c
  vendor/tcpdump/dist/missing/strlcat.c
  vendor/tcpdump/dist/missing/strlcpy.c
  vendor/tcpdump/dist/missing/strsep.c
  vendor/tcpdump/dist/nameser.h
  vendor/tcpdump/dist/netdissect.h
  vendor/tcpdump/dist/nfsfh.h
  vendor/tcpdump/dist/nlpid.c
  vendor/tcpdump/dist/oui.c
  vendor/tcpdump/dist/oui.h
  vendor/tcpdump/dist/parsenfsfh.c
  vendor/tcpdump/dist/pcap-missing.h
  vendor/tcpdump/dist/print-802_11.c
  vendor/tcpdump/dist/print-802_15_4.c   (contents, props changed)
  vendor/tcpdump/dist/print-ah.c
  vendor/tcpdump/dist/print-ahcp.c   (contents, props changed)
  vendor/tcpdump/dist/print-aodv.c
  vendor/tcpdump/dist/print-aoe.c   (contents, props changed)
  vendor/tcpdump/dist/print-ap1394.c
  vendor/tcpdump/dist/print-arcnet.c
  vendor/tcpdump/dist/print-arp.c
  vendor/tcpdump/dist/print-ascii.c
  vendor/tcpdump/dist/print-atalk.c
  vendor/tcpdump/dist/print-atm.c
  vendor/tcpdump/dist/print-babel.c   (contents, props changed)
  vendor/tcpdump/dist/print-beep.c
  vendor/tcpdump/dist/print-bfd.c
  vendor/tcpdump/dist/print-bgp.c
  vendor/tcpdump/dist/print-bootp.c
  vendor/tcpdump/dist/print-bt.c   (contents, props changed)
  vendor/tcpdump/dist/print-calm-fast.c   (contents, props changed)
  vendor/tcpdump/dist/print-carp.c   (contents, props changed)
  vendor/tcpdump/dist/print-cdp.c
  vendor/tcpdump/dist/print-cfm.c   (contents, props changed)
  vendor/tcpdump/dist/print-chdlc.c
  vendor/tcpdump/dist/print-cip.c
  vendor/tcpdump/dist/print-cnfp.c
  vendor/tcpdump/dist/print-dccp.c
  vendor/tcpdump/dist/print-decnet.c
  vendor/tcpdump/dist/print-dhcp6.c
  vendor/tcpdump/dist/print-domain.c
  vendor/tcpdump/dist/print-dtp.c   (contents, props changed)
  vendor/tcpdump/dist/print-dvmrp.c
  vendor/tcpdump/dist/print-eap.c
  vendor/tcpdump/dist/print-egp.c
  vendor/tcpdump/dist/print-eigrp.c
  vendor/tcpdump/dist/print-enc.c
  vendor/tcpdump/dist/print-esp.c
  vendor/tcpdump/dist/print-ether.c
  vendor/tcpdump/dist/print-fddi.c
  vendor/tcpdump/dist/print-forces.c   (contents, props changed)
  vendor/tcpdump/dist/print-fr.c
  vendor/tcpdump/dist/print-frag6.c
  vendor/tcpdump/dist/print-ftp.c   (contents, props changed)
  vendor/tcpdump/dist/print-geneve.c   (contents, props changed)
  vendor/tcpdump/dist/print-geonet.c   (contents, props changed)
  vendor/tcpdump/dist/print-gre.c
  vendor/tcpdump/dist/print-hsrp.c
  vendor/tcpdump/dist/print-http.c   (contents, props changed)
  vendor/tcpdump/dist/print-icmp.c
  vendor/tcpdump/dist/print-icmp6.c
  vendor/tcpdump/dist/print-igmp.c
  vendor/tcpdump/dist/print-igrp.c
  vendor/tcpdump/dist/print-ip.c
  vendor/tcpdump/dist/print-ip6.c
  vendor/tcpdump/dist/print-ip6opts.c
  vendor/tcpdump/dist/print-ipcomp.c
  vendor/tcpdump/dist/print-ipfc.c
  vendor/tcpdump/dist/print-ipnet.c   (contents, props changed)
  vendor/tcpdump/dist/print-ipx.c
  vendor/tcpdump/dist/print-isakmp.c
  vendor/tcpdump/dist/print-isoclns.c
  vendor/tcpdump/dist/print-juniper.c
  vendor/tcpdump/dist/print-krb.c
  vendor/tcpdump/dist/print-l2tp.c
  vendor/tcpdump/dist/print-lane.c
  vendor/tcpdump/dist/print-ldp.c
  vendor/tcpdump/dist/print-llc.c
  vendor/tcpdump/dist/print-lldp.c   (contents, props changed)
  vendor/tcpdump/dist/print-lmp.c
  vendor/tcpdump/dist/print-loopback.c   (contents, props changed)
  vendor/tcpdump/dist/print-lspping.c
  vendor/tcpdump/dist/print-lwapp.c   (contents, props changed)
  vendor/tcpdump/dist/print-lwres.c
  vendor/tcpdump/dist/print-m3ua.c   (contents, props changed)
  vendor/tcpdump/dist/print-mobile.c
  vendor/tcpdump/dist/print-mobility.c
  vendor/tcpdump/dist/print-mpcp.c   (contents, props changed)
  vendor/tcpdump/dist/print-mpls.c
  vendor/tcpdump/dist/print-mptcp.c   (contents, props changed)
  vendor/tcpdump/dist/print-msdp.c
  vendor/tcpdump/dist/print-msnlb.c
  vendor/tcpdump/dist/print-nflog.c   (contents, props changed)
  vendor/tcpdump/dist/print-nfs.c
  vendor/tcpdump/dist/print-ntp.c
  vendor/tcpdump/dist/print-null.c
  vendor/tcpdump/dist/print-olsr.c
  vendor/tcpdump/dist/print-openflow-1.0.c   (contents, props changed)
  vendor/tcpdump/dist/print-openflow.c   (contents, props changed)
  vendor/tcpdump/dist/print-ospf.c
  vendor/tcpdump/dist/print-ospf6.c
  vendor/tcpdump/dist/print-otv.c
  vendor/tcpdump/dist/print-pflog.c
  vendor/tcpdump/dist/print-pgm.c
  vendor/tcpdump/dist/print-pim.c
  vendor/tcpdump/dist/print-pktap.c   (contents, props changed)
  vendor/tcpdump/dist/print-ppi.c   (contents, props changed)
  vendor/tcpdump/dist/print-ppp.c
  vendor/tcpdump/dist/print-pppoe.c
  vendor/tcpdump/dist/print-pptp.c
  vendor/tcpdump/dist/print-radius.c
  vendor/tcpdump/dist/print-raw.c
  vendor/tcpdump/dist/print-rip.c
  vendor/tcpdump/dist/print-ripng.c
  vendor/tcpdump/dist/print-rpki-rtr.c   (contents, props changed)
  vendor/tcpdump/dist/print-rrcp.c   (contents, props changed)
  vendor/tcpdump/dist/print-rsvp.c
  vendor/tcpdump/dist/print-rt6.c
  vendor/tcpdump/dist/print-rtsp.c   (contents, props changed)
  vendor/tcpdump/dist/print-rx.c
  vendor/tcpdump/dist/print-sctp.c
  vendor/tcpdump/dist/print-sflow.c   (contents, props changed)
  vendor/tcpdump/dist/print-sip.c
  vendor/tcpdump/dist/print-sl.c
  vendor/tcpdump/dist/print-sll.c
  vendor/tcpdump/dist/print-slow.c
  vendor/tcpdump/dist/print-smb.c
  vendor/tcpdump/dist/print-smtp.c   (contents, props changed)
  vendor/tcpdump/dist/print-snmp.c
  vendor/tcpdump/dist/print-stp.c
  vendor/tcpdump/dist/print-sunatm.c
  vendor/tcpdump/dist/print-sunrpc.c
  vendor/tcpdump/dist/print-symantec.c
  vendor/tcpdump/dist/print-syslog.c
  vendor/tcpdump/dist/print-tcp.c
  vendor/tcpdump/dist/print-telnet.c
  vendor/tcpdump/dist/print-tftp.c
  vendor/tcpdump/dist/print-timed.c
  vendor/tcpdump/dist/print-tipc.c
  vendor/tcpdump/dist/print-token.c
  vendor/tcpdump/dist/print-udld.c   (contents, props changed)
  vendor/tcpdump/dist/print-udp.c
  vendor/tcpdump/dist/print-usb.c   (contents, props changed)
  vendor/tcpdump/dist/print-vjc.c
  vendor/tcpdump/dist/print-vqp.c   (contents, props changed)
  vendor/tcpdump/dist/print-vrrp.c
  vendor/tcpdump/dist/print-vtp.c   (contents, props changed)
  vendor/tcpdump/dist/print-vxlan.c
  vendor/tcpdump/dist/print-wb.c
  vendor/tcpdump/dist/print-zephyr.c
  vendor/tcpdump/dist/print-zeromq.c
  vendor/tcpdump/dist/rpl.h   (contents, props changed)
  vendor/tcpdump/dist/setsignal.c
  vendor/tcpdump/dist/signature.c   (contents, props changed)
  vendor/tcpdump/dist/signature.h   (contents, props changed)
  vendor/tcpdump/dist/smb.h
  vendor/tcpdump/dist/smbutil.c
  vendor/tcpdump/dist/tcp.h
  vendor/tcpdump/dist/tcpdump.1.in   (contents, props changed)
  vendor/tcpdump/dist/tcpdump.c
  vendor/tcpdump/dist/tests/TESTLIST
  vendor/tcpdump/dist/tests/TESTonce
  vendor/tcpdump/dist/tests/crypto.sh   (contents, props changed)
  vendor/tcpdump/dist/tests/cve2015-0261-crash.pcap
  vendor/tcpdump/dist/tests/cve2015-0261-ipv6.out
  vendor/tcpdump/dist/tests/dtp-v.out
  vendor/tcpdump/dist/tests/evb.out
  vendor/tcpdump/dist/tests/ieee802.11_exthdr.out
  vendor/tcpdump/dist/tests/ieee802.11_rx-stbc.out
  vendor/tcpdump/dist/tests/kday1.out
  vendor/tcpdump/dist/tests/kday2.out
  vendor/tcpdump/dist/tests/kday3.out
  vendor/tcpdump/dist/tests/kday4.out
  vendor/tcpdump/dist/tests/kday5.out
  vendor/tcpdump/dist/tests/kday6.out
  vendor/tcpdump/dist/tests/kday7.out
  vendor/tcpdump/dist/tests/kday8.out
  vendor/tcpdump/dist/tests/lldp_cdp-ev.out
  vendor/tcpdump/dist/tests/lmp-v.sh   (contents, props changed)
  vendor/tcpdump/dist/tests/mstp-v.out
  vendor/tcpdump/dist/tests/nflog-e.sh   (contents, props changed)
  vendor/tcpdump/dist/tests/of10_p3295-vv.out
  vendor/tcpdump/dist/tests/of10_s4810-vvvv.out
  vendor/tcpdump/dist/tests/radius-rfc4675-v.out
  vendor/tcpdump/dist/tests/rpl-14-daovvv.out
  vendor/tcpdump/dist/tests/rpl-19-pickdag.out
  vendor/tcpdump/dist/tests/rpl-19-pickdagvvv.out
  vendor/tcpdump/dist/tests/rpl-26-senddaovv.out
  vendor/tcpdump/dist/tests/udld-v.out
  vendor/tcpdump/dist/udp.h
  vendor/tcpdump/dist/vfprintf.c
  vendor/tcpdump/dist/win32/prj/WinDump.dsp
Directory Properties:
  vendor/tcpdump/dist/Makefile-devel-adds   (props changed)
  vendor/tcpdump/dist/getopt_long.h   (props changed)
  vendor/tcpdump/dist/missing/getopt_long.c   (props changed)
  vendor/tcpdump/dist/openflow.h   (props changed)
  vendor/tcpdump/dist/tests/TESTrun.sh   (props changed)
  vendor/tcpdump/dist/tests/esp-secrets.txt   (props changed)
  vendor/tcpdump/dist/tests/ikev2pI2-secrets.txt   (props changed)

Modified: vendor/tcpdump/dist/CHANGES
==============================================================================
--- vendor/tcpdump/dist/CHANGES	Tue Jan 31 19:12:28 2017	(r313023)
+++ vendor/tcpdump/dist/CHANGES	Tue Jan 31 19:17:06 2017	(r313024)
@@ -1,3 +1,187 @@
+Wednesday January 18, 2017 devel.fx.lebail at orange.fr
+  Summary for 4.9.0 tcpdump release
+    General updates:
+    Improve separation frontend/backend (tcpdump/libnetdissect)
+    Don't require IPv6 library support in order to support IPv6 addresses
+    Introduce data types to use for integral values in packet structures
+    Fix display of timestamps with -tt, -ttt and -ttttt options
+    Fix some heap overflows found with American Fuzzy Lop by Hanno Boeck and others
+        (More information in the log with CVE-2016-* and CVE-2017-*)
+    Change the way protocols print link-layer addresses (Fix heap overflows
+        in CALM-FAST and GeoNetworking printers)
+    Pass correct caplen value to ether_print() and some other functions
+    Fix lookup_nsap() to match what isonsap_string() expects
+    Clean up relative time stamp printing (Fix an array overflow)
+    Fix some alignment issues with GCC on Solaris 10 SPARC
+    Add some ND_TTEST_/ND_TCHECK_ macros to simplify writing bounds checks
+    Add a fn_printztn() which returns the number of bytes processed
+    Add nd_init() and nd_cleanup() functions. Improve libsmi support
+    Add CONTRIBUTING file
+    Add a summary comment in all printers
+    Compile with more warning options in devel mode if supported (-Wcast-qual, ...)
+    Fix some leaks found by Valgrind/Memcheck
+    Fix a bunch of de-constifications
+    Squelch some Coverity warnings and some compiler warnings
+    Update Coverity and Travis-CI setup
+    Update Visual Studio files
+
+    Frontend:
+    Fix capsicum support to work with zerocopy buffers in bpf
+    Try opening interfaces by name first, then by name-as-index
+    Work around pcap_create() failures fetching time stamp type lists
+    Fix a segmentation fault with 'tcpdump -J'
+    Improve addrtostr6() bounds checking
+    Add exit_tcpdump() function
+    Don't drop CAP_SYS_CHROOT before chrooting
+    Fixes issue where statistics not reported when -G and -W options used
+
+    New printers supporting:
+    Generic Protocol Extension for VXLAN (VXLAN-GPE)
+    Home Networking Control Protocol (HNCP), RFCs 7787 and 7788
+    Locator/Identifier Separation Protocol (LISP), type 3 and type 4 packets
+    Marvell Extended Distributed Switch Architecture header (MEDSA)
+    Network Service Header (NSH)
+    REdis Serialization Protocol (RESP)
+
+    Updated printers:
+    802.11: Beginnings of 11ac radiotap support
+    802.11: Check the Protected bit for management frames
+    802.11: Do bounds checking on last_presentp before dereferencing it (Fix a heap overflow)
+    802.11: Fix the radiotap printer to handle the special bits correctly
+    802.11: If we have the MCS field, it's 11n
+    802.11: Only print unknown frame type or subtype messages once
+    802.11: Radiotap dBm values get printed as dB; Update a test output accordingly
+    802.11: Source and destination addresses were backwards
+    AH: Add a bounds check
+    AH: Report to our caller that dissection failed if a bounds check fails
+    AP1394: Print src > dst, not dst > src
+    ARP: Don't assume the target hardware address is <= 6 octets long (Fix a heap overflow)
+    ATALK: Add bounds and length checks (Fix heap overflows)
+    ATM: Add some bounds checks (Fix a heap overflow)
+    ATM: Fix an incorrect bounds check
+    BFD: Update specification from draft to RFC 5880
+    BFD: Update to print optional authentication field
+    BGP: Add decoding of ADD-PATH capability
+    BGP: Add support for the AIGP attribute (RFC7311)
+    BGP: Print LARGE_COMMUNITY Path Attribute
+    BGP: Update BGP numbers from IANA; Print minor values for FSM notification
+    BOOTP: Add a bounds check
+    Babel: Add decoder for source-specific extension
+    CDP: Filter out non-printable characters
+    CFM: Fixes to match the IEEE standard, additional bounds and length checks
+    CSLIP: Add more bounds checks (Fix a heap overflow)
+    ClassicalIPoATM: Add a bounds check on LLC+SNAP header (Fix a heap overflow)
+    DHCP: Fix MUDURL and TZ options
+    DHCPv6: Process MUDURL and TZ options
+    DHCPv6: Update Status Codes with RFCs/IANA names
+    DNS: Represent the "DNSSEC OK" bit as "DO" instead of "OK". Add a test case
+    DTP: Improve packet integrity checks
+    EGP: Fix bounds checks
+    ESP: Don't use OpenSSL_add_all_algorithms() in OpenSSL 1.1.0 or later
+    ESP: Handle OpenSSL 1.1.x
+    Ethernet: Add some bounds checking before calling isoclns_print (Fix a heap overflow)
+    Ethernet: Print the Length/Type field as length when needed
+    FDDI: Fix -e output for FDDI
+    FR: Add some packet-length checks and improve Q.933 printing (Fix heap overflows)
+    GRE: Add some bounds checks (Fix heap overflows)
+    Geneve: Fix error message with invalid option length; Update list option classes
+    HNCP: Fix incorrect time interval format. Fix handling of IPv4 prefixes
+    ICMP6: Fetch a 32-bit big-endian quantity with EXTRACT_32BITS()
+    ICMP6: dagid is always an IPv6 address, not an opaque 128-bit string
+    IGMP: Add a length check
+    IP: Add a bounds check (Fix a heap overflow)
+    IP: Check before fetching the protocol version (Fix a heap overflow)
+    IP: Don't try to dissect if IP version != 4 (Fix a heap overflow)
+    IP: Stop processing IPPROTO_ values once we hit IPPROTO_IPCOMP
+    IPComp: Check whether we have the CPI before we fetch it (Fix a heap overflow)
+    IPoFC: Fix -e output (IP-over-Fibre Channel)
+    IPv6: Don't overwrite the destination IPv6 address for routing headers
+    IPv6: Fix header printing
+    IPv6: Stop processing IPPROTO_ values once we hit IPPROTO_IPCOMP
+    ISAKMP: Clean up parsing of IKEv2 Security Associations
+    ISOCLNS/IS-IS: Add support for Purge Originator Identifier (RFC6232) and test cases
+    ISOCLNS/IS-IS: Don't overwrite packet data when checking the signature
+    ISOCLNS/IS-IS: Filter out non-printable characters
+    ISOCLNS/IS-IS: Fix segmentation faults
+    ISOCLNS/IS-IS: Have signature_verify() do the copying and clearing
+    ISOCLNS: Add some bounds checks
+    Juniper: Make sure a Juniper header TLV isn't bigger than what's left in the packet (Fix a heap overflow)
+    LLC/SNAP: With -e, print the LLC header before the SNAP header; without it, cut the SNAP header
+    LLC: Add a bounds check (Fix a heap overflow)
+    LLC: Clean up printing of LLC packets
+    LLC: Fix the printing of RFC 948-style IP packets
+    LLC: Skip the LLC and SNAP headers with -x for 802.11 and some other protocols
+    LLDP: Implement IANA OUI and LLDP MUD option
+    MPLS LSP ping: Update printing for RFC 4379, bug fixes, more bounds checks
+    MPLS: "length" is now the *remaining* packet length
+    MPLS: Add bounds and length checks (Fix a heap overflow)
+    NFS: Add a test that makes unaligned accesses
+    NFS: Don't assume the ONC RPC header is nicely aligned
+    NFS: Don't overflow the Opaque_Handle buffer (Fix a segmentation fault)
+    NFS: Don't run past the end of an NFSv3 file handle
+    OLSR: Add a test to cover a HNA sgw case
+    OLSR: Fix 'Advertised networks' count
+    OLSR: Fix printing of smart-gateway HNAs in IPv4
+    OSPF: Add a bounds check for the Hello packet options
+    OSPF: Do more bounds checking
+    OSPF: Fix a segmentation fault
+    OSPF: Fix printing 'ospf_topology_values' default
+    OTV: Add missing bounds checks
+    PGM: Print the formatted IP address, not the raw binary address, as a string
+    PIM: Add some bounds checking (Fix a heap overflow)
+    PIMv2: Fix checksumming of Register messages
+    PPI: Pass an adjusted struct pcap_pkthdr to the sub-printer
+    PPP: Add some bounds checks (Fix a heap overflow)
+    PPP: Report invalid PAP AACK/ANAK packets
+    Q.933: Add a missing bounds check
+    RADIUS: Add Value 13 "VLAN" to Tunnel-Type attribute
+    RADIUS: Filter out non-printable characters
+    RADIUS: Translate UDP/1700 as RADIUS
+    RESP: Do better checking of RESP packets
+    RPKI-RTR: Add a return value check for "fn_printn" call
+    RPKI-RTR: Remove printing when truncated condition already detected
+    RPL: Fix 'Consistency Check' control code
+    RPL: Fix suboption print
+    RSVP: An INTEGRITY object in a submessage covers only the submessage
+    RSVP: Fix an infinite loop; Add bounds and length checks
+    RSVP: Fix some if statements missing brackets
+    RSVP: Have signature_verify() do the copying and clearing
+    RTCP: Add some bounds checks
+    RTP: Add some bounds checks, fix two segmentation faults
+    SCTP: Do more bounds checking
+    SFLOW: Fix bounds checking
+    SLOW: Fix bugs, add checks
+    SMB: Before fetching the flags2 field, make sure we have it
+    SMB: Do bounds checks on NBNS resource types and resource data lengths
+    SNMP: Clean up the "have libsmi but no modules loaded" case
+    SNMP: Clean up the object abbreviation list and fix the code to match them
+    SNMP: Do bounds checks when printing character and octet strings
+    SNMP: Improve ASN.1 bounds checks
+    SNMP: More bounds and length checks
+    STP: Add a bunch of bounds checks, and fix some printing (Fix heap overflows)
+    STP: Filter out non-printable characters
+    TCP: Add bounds and length checks for packets with TCP option 20
+    TCP: Correct TCP option Kind value for TCP Auth and add SCPS-TP
+    TCP: Fix two bounds checks (Fix heap overflows)
+    TCP: Make sure we have the data offset field before fetching it (Fix a heap overflow)
+    TCP: Put TCP-AO option decoding right
+    TFTP: Don't use strchr() to scan packet data (Fix a heap overflow)
+    Telnet: Add some bounds checks
+    TokenRing: Fix -e output
+    UDLD: Fix an infinite loop
+    UDP: Add a bounds check (Fix a heap overflow)
+    UDP: Check against the packet length first
+    UDP: Don't do the DDP-over-UDP heuristic check up front
+    VAT: Add some bounds checks
+    VTP: Add a test on Mgmt Domain Name length
+    VTP: Add bounds checks and filter out non-printable characters
+    VXLAN: Add a bound check and a test case
+    ZeroMQ: Fix an infinite loop
+
+Tuesday April 14, 2015 guy at alum.mit.edu
+  Summary for 4.8.0 tcpdump release
+	Fix "-x" for Apple PKTAP and PPI packets
+
 Friday April 10, 2015 guy at alum.mit.edu
   Summary for 4.7.4 tcpdump release
 	RPKI to Router Protocol: Fix Segmentation Faults and other problems
@@ -464,10 +648,10 @@ Wed.   November 12, 2003. mcr at sandelman.
 
 Tuesday, February 25, 2003. fenner at research.att.com.  3.7.2 release
 
-	Fixed infinite loop when parsing malformed isakmp packets.
+	Fixed infinite loop when parsing invalid isakmp packets.
 	 (reported by iDefense; already fixed in CVS)
-	Fixed infinite loop when parsing malformed BGP packets.
-	Fixed buffer overflow with certain malformed NFS packets.
+	Fixed infinite loop when parsing invalid BGP packets.
+	Fixed buffer overflow with certain invalid NFS packets.
 	Pretty-print unprintable network names in 802.11 printer.
 	Handle truncated nbp (appletalk) packets.
 	Updated DHCPv6 printer to match draft-ietf-dhc-dhcpv6-22.txt

Added: vendor/tcpdump/dist/CONTRIBUTING
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ vendor/tcpdump/dist/CONTRIBUTING	Tue Jan 31 19:17:06 2017	(r313024)
@@ -0,0 +1,103 @@
+Some Information for Contributors
+---------------------------------
+You want to contribute to Tcpdump, Thanks!
+Please, read these lines.
+
+1) Fork the Tcpdump repository on GitHub from
+   https://github.com/the-tcpdump-group/tcpdump
+   (See https://help.github.com/articles/fork-a-repo/)
+
+2) Setup an optional Travis-CI build
+   You can setup a travis build for your fork. So, you can test your changes
+   on Linux and OSX before sending pull requests.
+   (See http://docs.travis-ci.com/user/getting-started/)
+
+3) Clone your repository
+   git clone https://github.com/<username>/tcpdump.git
+
+4) Do a 'touch .devel' in your working directory.
+   Currently, the effect is
+   a) add (via configure, in Makefile) some warnings options ( -Wall
+   -Wmissing-prototypes -Wstrict-prototypes, ...) to the compiler if it
+   supports these options,
+   b) have the Makefile support "make depend" and the configure script run it.
+
+5) Configure and build
+   ./configure && make -s && make check
+
+6) Add/update sample.pcap files
+   We use tests directory to do regression tests on the dissection of captured
+   packets, by running tcpdump against a savefile sample.pcap, created with -w
+   option and comparing the results with a text file sample.out giving the
+   expected results.
+
+   Any new/updated fields in a dissector must be present in a sample.pcap file
+   and the corresponding output file.
+
+   Configuration is set in tests/TESTLIST.
+   Each line in this file has the following format:
+   test-name   sample.pcap   sample.out   tcpdump-options
+
+   the sample.out file can be build by:
+   (cd tests && ../tcpdump -n -r sample.pcap tcpdump-options > sample.out)
+
+   It is often useful to have test outputs with different verbosity levels
+   (none, -v, -vv, -vvv, etc.) depending on the code.
+
+7) Test with 'make check'
+   Don't send a pull request if 'make check' gives failed tests.
+
+8) Rebase your commits against upstream/master
+   (To keep linearity)
+
+9) Initiate and send a pull request
+   (See https://help.github.com/articles/using-pull-requests/)
+
+Some remarks
+------------
+a) A thorough reading of some other printers code is useful.
+
+b) Put the normative reference if any as comments (RFC, etc.).
+
+c) Put the format of packets/headers/options as comments.
+
+d) The printer may receive incomplete packet in the buffer, truncated at any
+   random position, for example by capturing with '-s size' option.
+   Thus use ND_TTEST, ND_TTEST2, ND_TCHECK or ND_TCHECK2 for bound checking.
+   For ND_TCHECK2:
+     Define : static const char tstr[] = " [|protocol]";
+     Define a label: trunc
+     Print with: ND_PRINT((ndo, "%s", tstr));
+   You can test the code via:
+     sudo ./tcpdump -s snaplen [-v][v][...] -i lo # in a terminal
+     sudo tcpreplay -i lo sample.pcap             # in another terminal
+   You should try several values for snaplen to do various truncation.
+
+e) Do invalid packet checks in code: Think that your code can receive in input
+   not only a valid packet but any arbitrary random sequence of octets (packet
+   - built malformed originally by the sender or by a fuzz tester,
+   - became corrupted in transit).
+   Print with: ND_PRINT((ndo, "%s", istr));	/* to print " (invalid)" */
+
+f) Use 'struct tok' for indexed strings and print them with
+   tok2str() or bittok2str() (for flags).
+
+g) Avoid empty lines in output of printers.
+
+h) A commit message must have:
+   First line: Capitalized short summary in the imperative (70 chars or less)
+
+   Body: Detailed explanatory text, if necessary. Fold it to approximately
+   72 characters. There must be an empty line separating the summary from
+   the body.
+
+i) Avoid non-ASCII characters in code and commit messages.
+
+j) Use the style of the modified sources.
+
+k) Don't mix declarations and code
+
+l) Don't use // for comments
+   Not all C compilers accept C++/C99 comments by default.
+
+m) Avoid trailing tabs/spaces

Modified: vendor/tcpdump/dist/CREDITS
==============================================================================
--- vendor/tcpdump/dist/CREDITS	Tue Jan 31 19:12:28 2017	(r313023)
+++ vendor/tcpdump/dist/CREDITS	Tue Jan 31 19:17:06 2017	(r313024)
@@ -20,11 +20,13 @@ Additional people who have contributed p
     Andrea Bittau                 <a dot bittau at cs dot ucl dot ac dot uk>
     Andrew Brown                  <atatat at atatdot dot net>
     Andrew Church                 <andrew at users dot sourceforge dot net>
+    Andrew Darqui                 <andrew dot darqui at gmail dot com>
     Andrew Hintz                  <adhintz at users dot sourceforge dot net>
     Andrew Nording                <andrew at nording dot ru>
     Andrew Tridgell               <tridge at linuxcare dot com>
     Andy Heffernan                <ahh at juniper dot net>
     Anton Bernal                  <anton at juniper dot net>
+    Antonin Décimo                <antonin dot decimo at gmail dot com>
     Arkadiusz Miskiewicz          <misiek at pld dot org dot pl>
     Armando L. Caro Jr.           <acaro at mail dot eecis dot udel dot edu>
     Arnaldo Carvalho de Melo      <acme at ghostprotocols dot net>
@@ -33,6 +35,7 @@ Additional people who have contributed p
     Ben Byer                      <bushing at sourceforge dot net>
     Ben Smithurst                 <ben at scientia dot demon dot co dot uk>
     Bert Vermeulen                <bert at biot dot com>
+    Bill Parker                   <wp02855 at gmail dot com>
     Bjoern A. Zeeb                <bzeeb at Zabbadoz dot NeT>
     Bram                          <tcpdump at mail dot wizbit dot be>
     Brent L. Bates                <blbates at vigyan dot com>
@@ -95,6 +98,7 @@ Additional people who have contributed p
     Jason R. Thorpe               <thorpej at netbsd dot org>
     Jefferson Ogata               <jogata at nodc dot noaa dot gov>
     Jeffrey Hutzelman             <jhutz at cmu dot edu>
+    Jean-Raphaël Gaglione         <jr dot gaglione at yahoo dot fr>
     Jesper Peterson               <jesper at endace dot com>
     Jesse Gross                   <jesse at nicira dot com>
     Jim Hutchins                  <jim at ca dot sandia dot gov>
@@ -119,7 +123,7 @@ Additional people who have contributed p
     Larry Lile                    <lile at stdio dot com>
     Lennert Buytenhek             <buytenh at gnu dot org>
     Loganaden Velvindron          <logan at elandsys dot com>
-    Longinus00                    <Longinus00 at gmail dot com>
+    Daniel Lee                    <Longinus00 at gmail dot com>
     Loris Degioanni               <loris at netgroup-serv dot polito dot it>
     Love Hörnquist-Åstrand        <lha at stacken dot kth dot se>
     Lucas C. Villa Real           <lucasvr at us dot ibm dot com>
@@ -134,6 +138,7 @@ Additional people who have contributed p
     Markus Schöpflin              <schoepflin at sourceforge dot net>
     Marshall Rose                 <mrose at dbc dot mtview dot ca dot us>
     Martin Husemann               <martin at netbsd dot org>
+    Matthieu Boutier              <boutier at pps dot univ-paris-diderot dot fr>
     Max Laier                     <max at love2party dot net>
     Michael A. Meffie III         <meffie at sourceforge dot net>
     Michael Madore                <mmadore at turbolinux dot com>

Modified: vendor/tcpdump/dist/INSTALL.txt
==============================================================================
--- vendor/tcpdump/dist/INSTALL.txt	Tue Jan 31 19:12:28 2017	(r313023)
+++ vendor/tcpdump/dist/INSTALL.txt	Tue Jan 31 19:17:06 2017	(r313024)
@@ -49,9 +49,10 @@ addrtoname.c	- address to hostname routi
 addrtoname.h	- address to hostname definitions
 ah.h		- IPSEC Authentication Header definitions
 appletalk.h	- AppleTalk definitions
+ascii_strcasecmp.c - locale-independent case-independent string comparison
+		routines
 atime.awk	- TCP ack awk script
 atm.h		- ATM traffic type definitions
-atmuni31.h	- ATM Q.2931 definitions
 bpf_dump.c	- BPF program printing routines, in case libpcap doesn't
 		  have them
 chdlc.h		- Cisco HDLC definitions
@@ -100,100 +101,8 @@ pcap_dump_ftell.c - pcap_dump_ftell() im
 		doesn't have it
 pcap-missing.h	- declarations of functions possibly missing from libpcap
 ppp.h		- Point to Point Protocol definitions
-print-802_11.c	- IEEE 802.11 printer routines
-print-ap1394.c	- Apple IP-over-IEEE 1394 printer routines
-print-ah.c	- IPSEC Authentication Header printer routines
-print-aodv.c	- AODV printer routines
-print-arcnet.c	- ARCNET printer routines
-print-arp.c	- Address Resolution Protocol printer routines
-print-ascii.c	- ASCII packet dump routines
-print-atalk.c	- AppleTalk printer routines
-print-atm.c	- ATM printer routines
-print-beep.c	- BEEP printer routines
-print-bgp.c	- Border Gateway Protocol printer routines
-print-bootp.c	- BOOTP and IPv4 DHCP printer routines
-print-bt.c	- Bluetooth printer routines
-print-cdp.c	- Cisco Discovery Protocol printer routines
-print-chdlc.c	- Cisco HDLC printer routines
-print-cip.c	- Classical-IP over ATM routines
-print-cnfp.c	- Cisco NetFlow printer routines
-print-dccp.c	- DCCP printer routines
-print-decnet.c	- DECnet printer routines
-print-dhcp6.c	- IPv6 DHCP printer routines
-print-domain.c	- Domain Name System printer routines
-print-dvmrp.c	- Distance Vector Multicast Routing Protocol printer routines
-print-eap.c	- EAP printer routines
-print-enc.c	- OpenBSD IPsec encapsulation BPF layer printer routines
-print-egp.c	- External Gateway Protocol printer routines
-print-esp.c	- IPSEC Encapsulating Security Payload printer routines
-print-ether.c	- Ethernet printer routines
-print-fddi.c	- Fiber Distributed Data Interface printer routines
-print-fr.c	- Frame Relay printer routines
-print-frag6.c	- IPv6 fragmentation header printer routines
-print-gre.c	- Generic Routing Encapsulation printer routines
-print-hsrp.c	- Cisco Hot Standby Router Protocol printer routines
-print-icmp.c	- Internet Control Message Protocol printer routines
-print-icmp6.c	- IPv6 Internet Control Message Protocol printer routines
-print-igmp.c	- Internet Group Management Protocol printer routines
-print-igrp.c	- Interior Gateway Routing Protocol printer routines
-print-ip.c	- IP printer routines
-print-ip6.c	- IPv6 printer routines
-print-ip6opts.c	- IPv6 header option printer routines
-print-ipcomp.c	- IP Payload Compression Protocol printer routines
-print-ipx.c	- IPX printer routines
-print-isakmp.c	- Internet Security Association and Key Management Protocol
-print-isoclns.c	- ISO CLNS, ESIS, and ISIS printer routines
-print-krb.c	- Kerberos printer routines
-print-l2tp.c	- Layer Two Tunneling Protocol printer routines
-print-lane.c	- ATM LANE printer routines
-print-llc.c	- IEEE 802.2 LLC printer routines
-print-lspping.c	- LSPPING printer routines
-print-lwres.c	- Lightweight Resolver protocol printer routines
-print-mobile.c	- IPv4 mobility printer routines
-print-mobility.c - IPv6 mobility printer routines
-print-mpls.c	- Multi-Protocol Label Switching printer routines
-print-msdp.c	- Multicast Source Discovery Protocol printer routines
-print-nfs.c	- Network File System printer routines
-print-ntp.c	- Network Time Protocol printer routines
-print-null.c	- BSD loopback device printer routines
-print-ospf.c	- Open Shortest Path First printer routines
-print-ospf6.c	- IPv6 Open Shortest Path First printer routines
-print-pflog.c	- OpenBSD packet filter log file printer routines
-print-pgm.c	- Pragmatic General Multicast printer routines
-print-pim.c	- Protocol Independent Multicast printer routines
-print-ppp.c	- Point to Point Protocol printer routines
-print-pppoe.c	- PPP-over-Ethernet printer routines
-print-pptp.c	- Point-to-Point Tunnelling Protocol printer routines
-print-radius.c	- Radius protocol printer routines
-print-raw.c	- Raw IP printer routines
-print-rip.c	- Routing Information Protocol printer routines
-print-ripng.c	- IPv6 Routing Information Protocol printer routines
-print-rrcp.c	- Realtek Remote Control Protocol routines
-print-rsvp.c	- Resource reSerVation Protocol (RSVP) printer routines
-print-rt6.c	- IPv6 routing header printer routines
-print-rx.c	- AFS RX printer routines
-print-sctp.c	- Stream Control Transmission Protocol printer routines
-print-sip.c	- SIP printer routines
-print-sl.c	- Compressed Serial Line Internet Protocol printer routines
-print-sll.c	- Linux "cooked" capture printer routines
-print-slow.c	- IEEE "slow protocol" (802.3ad) printer routines
-print-smb.c	- SMB/CIFS printer routines
-print-snmp.c	- Simple Network Management Protocol printer routines
-print-stp.c	- IEEE 802.1d spanning tree protocol printer routines
-print-sunatm.c	- SunATM DLPI capture printer routines
-print-sunrpc.c	- Sun Remote Procedure Call printer routines
-print-symantec.c - Symantec Enterprise Firewall printer routines
-print-tcp.c	- TCP printer routines
-print-telnet.c	- Telnet option printer routines
-print-tftp.c	- Trivial File Transfer Protocol printer routines
-print-timed.c	- BSD time daemon protocol printer routines
-print-token.c	- Token Ring printer routines
-print-udp.c	- UDP printer routines
-print-usb.c	- USB printer routines
-print-vjc.c	- PPP Van Jacobson compression (RFC1144) printer routines
-print-vrrp.c	- Virtual Router Redundancy Protocol
-print-wb.c	- White Board printer routines
-print-zephyr.c	- Zephyr printer routines
+print.c		- Top-level routines for protocol printing
+print-*.c	- The netdissect printers
 rpc_auth.h	- definitions for ONC RPC authentication
 rpc_msg.h	- definitions for ONC RPC messages
 send-ack.awk	- unidirectional tcp send/ack awk script
@@ -203,11 +112,11 @@ slcompress.h	- SLIP/PPP Van Jacobson com
 smb.h		- SMB/CIFS definitions
 smbutil.c	- SMB/CIFS utility routines
 stime.awk	- TCP send awk script
-strcasecmp.c	- missing routine
 tcp.h		- TCP definitions
 tcpdump.1	- manual entry
 tcpdump.c	- main program
+timeval-operations.h - timeval operations macros
 udp.h		- UDP definitions
-util.c		- utility routines
+util-print.c	- utility routines for protocol printers
 vfprintf.c	- emulation routine
 win32		- headers and routines for building on Win32 systems

Modified: vendor/tcpdump/dist/Makefile.in
==============================================================================
--- vendor/tcpdump/dist/Makefile.in	Tue Jan 31 19:12:28 2017	(r313023)
+++ vendor/tcpdump/dist/Makefile.in	Tue Jan 31 19:17:06 2017	(r313024)
@@ -74,7 +74,9 @@ CSRC =	setsignal.c tcpdump.c
 
 LIBNETDISSECT_SRC=\
 	addrtoname.c \
+	addrtostr.c \
 	af.c \
+	ascii_strcasecmp.c \
 	checksum.c \
 	cpack.c \
 	gmpls.c \
@@ -86,6 +88,7 @@ LIBNETDISSECT_SRC=\
 	nlpid.c \
 	oui.c \
 	parsenfsfh.c \
+	print.c \
 	print-802_11.c \
 	print-802_15_4.c \
 	print-ah.c \
@@ -98,6 +101,7 @@ LIBNETDISSECT_SRC=\
 	print-ascii.c \
 	print-atalk.c \
 	print-atm.c \
+	print-babel.c \
 	print-beep.c \
 	print-bfd.c \
 	print-bgp.c \
@@ -112,6 +116,7 @@ LIBNETDISSECT_SRC=\
 	print-cnfp.c \
 	print-dccp.c \
 	print-decnet.c \
+	print-dhcp6.c \
 	print-domain.c \
 	print-dtp.c \
 	print-dvmrp.c \
@@ -124,17 +129,21 @@ LIBNETDISSECT_SRC=\
 	print-fddi.c \
 	print-forces.c \
 	print-fr.c \
+	print-frag6.c \
 	print-ftp.c \
 	print-geneve.c \
 	print-geonet.c \
 	print-gre.c \
+	print-hncp.c \
 	print-hsrp.c \
 	print-http.c \
 	print-icmp.c \
+	print-icmp6.c \
 	print-igmp.c \
 	print-igrp.c \
 	print-ip.c \
 	print-ip6.c \
+	print-ip6opts.c \
 	print-ipcomp.c \
 	print-ipfc.c \
 	print-ipnet.c \
@@ -146,6 +155,7 @@ LIBNETDISSECT_SRC=\
 	print-l2tp.c \
 	print-lane.c \
 	print-ldp.c \
+	print-lisp.c \
 	print-llc.c \
 	print-lldp.c \
 	print-lmp.c \
@@ -154,7 +164,9 @@ LIBNETDISSECT_SRC=\
 	print-lwapp.c \
 	print-lwres.c \
 	print-m3ua.c \
+	print-medsa.c \
 	print-mobile.c \
+	print-mobility.c \
 	print-mpcp.c \
 	print-mpls.c \
 	print-mptcp.c \
@@ -162,12 +174,14 @@ LIBNETDISSECT_SRC=\
 	print-msnlb.c \
 	print-nflog.c \
 	print-nfs.c \
+	print-nsh.c \
 	print-ntp.c \
 	print-null.c \
 	print-olsr.c \
 	print-openflow-1.0.c \
 	print-openflow.c \
 	print-ospf.c \
+	print-ospf6.c \
 	print-otv.c \
 	print-pgm.c \
 	print-pim.c \
@@ -178,10 +192,13 @@ LIBNETDISSECT_SRC=\
 	print-pptp.c \
 	print-radius.c \
 	print-raw.c \
+	print-resp.c \
 	print-rip.c \
+	print-ripng.c \
 	print-rpki-rtr.c \
 	print-rrcp.c \
 	print-rsvp.c \
+	print-rt6.c \
 	print-rtsp.c \
 	print-rx.c \
 	print-sctp.c \
@@ -211,11 +228,14 @@ LIBNETDISSECT_SRC=\
 	print-vrrp.c \
 	print-vtp.c \
 	print-vxlan.c \
+	print-vxlan-gpe.c \
 	print-wb.c \
 	print-zephyr.c \
 	print-zeromq.c \
+	netdissect.c \
 	signature.c \
-	util.c
+	strtoaddr.c \
+	util-print.c
 
 LOCALSRC = @LOCALSRC@
 GENSRC = version.c
@@ -232,11 +252,12 @@ SRC =	$(CSRC) $(GENSRC) $(LOCALSRC) $(LI
 OBJ =	$(CSRC:.c=.o) $(GENSRC:.c=.o) $(LIBNETDISSECT_OBJ)
 HDR = \
 	addrtoname.h \
+	addrtostr.h \
 	af.h \
 	ah.h \
 	appletalk.h \
+	ascii_strcasecmp.h \
 	atm.h \
-	atmuni31.h \
 	chdlc.h \
 	cpack.h \
 	ether.h \
@@ -264,6 +285,7 @@ HDR = \
 	oui.h \
 	pcap-missing.h \
 	ppp.h \
+	print.h \
 	rpc_auth.h \
 	rpc_msg.h \
 	rpl.h \
@@ -271,14 +293,15 @@ HDR = \
 	signature.h \
 	slcompress.h \
 	smb.h \
+	strtoaddr.h \
 	tcp.h \
-	tcpdump-stdinc.h \
+	netdissect-stdinc.h \
+	timeval-operations.h \
 	udp.h
 
 TAGHDR = \
 	/usr/include/arpa/tftp.h \
 	/usr/include/net/if_arp.h \
-	/usr/include/net/slip.h \
 	/usr/include/netinet/if_ether.h \
 	/usr/include/netinet/in.h \
 	/usr/include/netinet/ip_icmp.h \
@@ -292,11 +315,14 @@ CLEANFILES = $(PROG) $(OBJ) $(GENSRC)
 
 EXTRA_DIST = \
 	CHANGES \
+	CONTRIBUTING \
 	CREDITS \
 	INSTALL.txt \
 	LICENSE \
 	Makefile.in \
 	Makefile-devel-adds \
+	PLATFORMS \
+	README \
 	README.md \
 	Readme.Win32 \
 	VERSION \
@@ -314,14 +340,9 @@ EXTRA_DIST = \
 	lbl/os-sunos4.h \
 	lbl/os-ultrix4.h \
 	makemib \
-	missing/addrinfo.h \
 	missing/dlnames.c \
 	missing/datalinks.c \
-	missing/getnameinfo.c \
 	missing/getopt_long.c \
-	missing/inet_aton.c \
-	missing/inet_ntop.c \
-	missing/inet_pton.c \
 	missing/snprintf.c \
 	missing/strdup.c \
 	missing/strlcat.c \
@@ -330,27 +351,19 @@ EXTRA_DIST = \
 	mkdep \
 	packetdat.awk \
 	pcap_dump_ftell.c \
-	print-babel.c \
-	print-dhcp6.c \
-	print-frag6.c \
-	print-icmp6.c \
-	print-ip6opts.c \
-	print-mobility.c \
-	print-ospf6.c \
 	print-pflog.c \
-	print-ripng.c \
-	print-rt6.c \
 	print-smb.c \
 	send-ack.awk \
 	smbutil.c \
 	stime.awk \
-	strcasecmp.c \
 	tcpdump.1.in \
 	vfprintf.c \
-	win32/Include/w32_fzs.h \
 	win32/prj/GNUmakefile \
 	win32/prj/WinDump.dsp \
-	win32/prj/WinDump.dsw
+	win32/prj/WinDump.dsw \
+	win32/prj/WinDump.sln \
+	win32/prj/WinDump.vcproj \
+	win32/src/ether_ntohost.c
 
 TEST_DIST= `find tests \( -name 'DIFF' -prune \) -o \( -name NEW -prune \) -o -type f \! -name '.*' \! -name '*~' -print`
 
@@ -369,16 +382,8 @@ datalinks.o: $(srcdir)/missing/datalinks
 	$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/datalinks.c
 dlnames.o: $(srcdir)/missing/dlnames.c
 	$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/dlnames.c
-getnameinfo.o: $(srcdir)/missing/getnameinfo.c
-	$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getnameinfo.c
 getopt_long.o: $(srcdir)/missing/getopt_long.c
 	$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getopt_long.c
-inet_pton.o: $(srcdir)/missing/inet_pton.c
-	$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_pton.c
-inet_ntop.o: $(srcdir)/missing/inet_ntop.c
-	$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_ntop.c
-inet_aton.o: $(srcdir)/missing/inet_aton.c
-	$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_aton.c
 snprintf.o: $(srcdir)/missing/snprintf.c
 	$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c
 strdup.o: $(srcdir)/missing/strdup.c
@@ -434,6 +439,9 @@ distclean:
 check: tcpdump
 	(cd tests && ./TESTrun.sh)
 
+extags: $(TAGFILES)
+	ctags $(TAGFILES)
+
 tags: $(TAGFILES)
 	ctags -wtd $(TAGFILES)
 

Added: vendor/tcpdump/dist/PLATFORMS
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ vendor/tcpdump/dist/PLATFORMS	Tue Jan 31 19:17:06 2017	(r313024)
@@ -0,0 +1,9 @@
+== Tested platforms ==
+NetBSD 		  5.1/i386	(mcr - 2012/4/1)
+Debian Linux (squeeze/i386)	(mcr - 2012/4/1)
+
+---
+RedHat Linux 	6.1/i386	(assar)
+FreeBSD		2.2.8/i386	(itojun)
+
+

Added: vendor/tcpdump/dist/README
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ vendor/tcpdump/dist/README	Tue Jan 31 19:17:06 2017	(r313024)
@@ -0,0 +1 @@
+link README.md
\ No newline at end of file

Modified: vendor/tcpdump/dist/VERSION
==============================================================================
--- vendor/tcpdump/dist/VERSION	Tue Jan 31 19:12:28 2017	(r313023)
+++ vendor/tcpdump/dist/VERSION	Tue Jan 31 19:17:06 2017	(r313024)
@@ -1 +1 @@
-4.7.4
+4.9.0

Modified: vendor/tcpdump/dist/aclocal.m4
==============================================================================
--- vendor/tcpdump/dist/aclocal.m4	Tue Jan 31 19:12:28 2017	(r313023)
+++ vendor/tcpdump/dist/aclocal.m4	Tue Jan 31 19:17:06 2017	(r313024)
@@ -219,6 +219,36 @@ AC_DEFUN(AC_LBL_C_INIT,
 ])
 
 dnl
+dnl Check whether, if you pass an unknown warning option to the
+dnl compiler, it fails or just prints a warning message and succeeds.
+dnl Set ac_lbl_unknown_warning_option_error to the appropriate flag
+dnl to force an error if it would otherwise just print a warning message
+dnl and succeed.
+dnl
+AC_DEFUN(AC_LBL_CHECK_UNKNOWN_WARNING_OPTION_ERROR,
+    [
+	AC_MSG_CHECKING([whether the compiler fails when given an unknown warning option])
+	save_CFLAGS="$CFLAGS"
+	CFLAGS="$CFLAGS -Wxyzzy-this-will-never-succeed-xyzzy"
+	AC_TRY_COMPILE(
+	    [],
+	    [return 0],
+	    [
+		AC_MSG_RESULT([no])
+		#
+		# We're assuming this is clang, where
+		# -Werror=unknown-warning-option is the appropriate
+		# option to force the compiler to fail.
+		#
+		ac_lbl_unknown_warning_option_error="-Werror=unknown-warning-option"
+	    ],
+	    [
+		AC_MSG_RESULT([yes])
+	    ])
+	CFLAGS="$save_CFLAGS"
+    ])
+
+dnl
 dnl Check whether the compiler option specified as the second argument
 dnl is supported by the compiler and, if so, add it to the macro
 dnl specified as the first argument
@@ -227,7 +257,18 @@ AC_DEFUN(AC_LBL_CHECK_COMPILER_OPT,
     [
 	AC_MSG_CHECKING([whether the compiler supports the $2 option])
 	save_CFLAGS="$CFLAGS"
-	CFLAGS="$CFLAGS $ac_lbl_cc_force_warning_errors $2"
+	if expr "x$2" : "x-W.*" >/dev/null
+	then
+	    CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error $2"
+	elif expr "x$2" : "x-f.*" >/dev/null
+	then
+	    CFLAGS="$CFLAGS -Werror $2"
+	elif expr "x$2" : "x-m.*" >/dev/null
+	then
+	    CFLAGS="$CFLAGS -Werror $2"
+	else
+	    CFLAGS="$CFLAGS $2"
+	fi
 	AC_TRY_COMPILE(
 	    [],
 	    [return 0],
@@ -942,11 +983,18 @@ AC_DEFUN(AC_LBL_DEVEL,
 	    # Skip all the warning option stuff on some compilers.
 	    #
 	    if test "$ac_lbl_cc_dont_try_gcc_dashW" != yes; then
+		    AC_LBL_CHECK_UNKNOWN_WARNING_OPTION_ERROR()
 		    AC_LBL_CHECK_COMPILER_OPT($1, -Wall)
 		    AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-prototypes)
 		    AC_LBL_CHECK_COMPILER_OPT($1, -Wstrict-prototypes)
 		    AC_LBL_CHECK_COMPILER_OPT($1, -Wwrite-strings)
 		    AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith)
+		    AC_LBL_CHECK_COMPILER_OPT($1, -Wcast-qual)
+		    AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
+		    AC_LBL_CHECK_COMPILER_OPT($1, -Wdeclaration-after-statement)
+		    AC_LBL_CHECK_COMPILER_OPT($1, -Wpedantic)
+		    AC_LBL_CHECK_COMPILER_OPT($1, -Wold-style-definition)
+		    AC_LBL_CHECK_COMPILER_OPT($1, -Wused-but-marked-unused)
 		    AC_LBL_CHECK_COMPILER_OPT($1, -W)
 	    fi
 	    AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT()
@@ -1114,131 +1162,6 @@ dnl OUT OF THE USE OF THIS SOFTWARE, EVE
 dnl SUCH DAMAGE.
 
 dnl
-dnl Checks to see if AF_INET6 is defined
-AC_DEFUN(AC_CHECK_AF_INET6, [
-	AC_MSG_CHECKING(for AF_INET6)
-	AC_CACHE_VAL($1,
-	AC_TRY_COMPILE([
-#		include <sys/types.h>
-#		include <sys/socket.h>],
-		[int a = AF_INET6],
-		$1=yes,
-		$1=no))
-	AC_MSG_RESULT($$1)
-		if test $$1 = yes ; then
-			AC_DEFINE(HAVE_AF_INET6)
-	fi
-])
-
-dnl
-dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member
-dnl borrowed from LBL libpcap
-AC_DEFUN(AC_CHECK_SA_LEN, [
-	AC_MSG_CHECKING(if sockaddr struct has sa_len member)
-	AC_CACHE_VAL($1,
-	AC_TRY_COMPILE([
-#		include <sys/types.h>
-#		include <sys/socket.h>],
-		[u_int i = sizeof(((struct sockaddr *)0)->sa_len)],
-		$1=yes,
-		$1=no))
-	AC_MSG_RESULT($$1)
-		if test $$1 = yes ; then
-			AC_DEFINE(HAVE_SOCKADDR_SA_LEN)
-	fi
-])
-
-dnl
-dnl Checks for addrinfo structure
-AC_DEFUN(AC_STRUCT_ADDRINFO, [
-	AC_MSG_CHECKING(for addrinfo)
-	AC_CACHE_VAL($1,
-	AC_TRY_COMPILE([
-#		include <netdb.h>],
-		[struct addrinfo a],
-		$1=yes,
-		$1=no))
-	AC_MSG_RESULT($$1)
-	if test $$1 = yes; then
-		AC_DEFINE(HAVE_ADDRINFO, 1,
-		    [define if you have the addrinfo function])
-	else
-		AC_DEFINE(NEED_ADDRINFO_H, 1,
-		    [define if you need to include missing/addrinfo.h])
-	fi
-])
-
-dnl
-dnl Checks for NI_MAXSERV
-AC_DEFUN(AC_NI_MAXSERV, [
-	AC_MSG_CHECKING(for NI_MAXSERV)
-	AC_CACHE_VAL($1,
-	AC_EGREP_CPP(yes, [#include <netdb.h>
-#ifdef NI_MAXSERV
-yes
-#endif],
-		$1=yes,
-		$1=no))
-	AC_MSG_RESULT($$1)
-	if test $$1 != yes; then
-		AC_DEFINE(NEED_ADDRINFO_H)
-	fi
-])
-
-dnl
-dnl Checks for NI_NAMEREQD
-AC_DEFUN(AC_NI_NAMEREQD, [
-	AC_MSG_CHECKING(for NI_NAMEREQD)
-	AC_CACHE_VAL($1,
-	AC_EGREP_CPP(yes, [#include <netdb.h>
-#ifdef NI_NOFQDN
-yes
-#endif],
-		$1=yes,
-		$1=no))
-	AC_MSG_RESULT($$1)
-	if test $$1 != yes; then
-		AC_DEFINE(NEED_ADDRINFO_H)
-	fi
-])
-
-dnl
-dnl Checks for sockaddr_storage structure
-AC_DEFUN(AC_STRUCT_SA_STORAGE, [
-	AC_MSG_CHECKING(for sockaddr_storage)
-	AC_CACHE_VAL($1,
-	AC_TRY_COMPILE([
-#		include <sys/types.h>
-#		include <sys/socket.h>],
-		[struct sockaddr_storage s],
-		$1=yes,
-		$1=no))
-	AC_MSG_RESULT($$1)
-	if test $$1 = yes; then
-		AC_DEFINE(HAVE_SOCKADDR_STORAGE, 1,
-		    [define if you have struct sockaddr_storage])
-	fi
-])
-
-dnl
-dnl check for h_errno
-AC_DEFUN(AC_VAR_H_ERRNO, [
-	AC_MSG_CHECKING(for h_errno)
-	AC_CACHE_VAL(ac_cv_var_h_errno,
-	AC_TRY_COMPILE([
-#		include <sys/types.h>
-#		include <netdb.h>],
-		[int foo = h_errno;],
-		ac_cv_var_h_errno=yes,
-		ac_cv_var_h_errno=no))
-	AC_MSG_RESULT($ac_cv_var_h_errno)
-	if test "$ac_cv_var_h_errno" = "yes"; then
-		AC_DEFINE(HAVE_H_ERRNO, 1,
-		    [define if you have the h_errno variable])
-	fi
-])
-
-dnl
 dnl Test for __attribute__
 dnl
 

Modified: vendor/tcpdump/dist/addrtoname.c
==============================================================================
--- vendor/tcpdump/dist/addrtoname.c	Tue Jan 31 19:12:28 2017	(r313023)
+++ vendor/tcpdump/dist/addrtoname.c	Tue Jan 31 19:17:06 2017	(r313024)
@@ -22,12 +22,11 @@
  *  and address to string conversion routines
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #ifdef USE_ETHER_NTOHOST
 #ifdef HAVE_NETINET_IF_ETHER_H
@@ -58,8 +57,10 @@ extern int ether_ntohost(char *, const s
 #include <string.h>
 #include <stdlib.h>
 
-#include "interface.h"
+#include "netdissect.h"
 #include "addrtoname.h"
+#include "addrtostr.h"
+#include "ethertype.h"
 #include "llc.h"
 #include "setsignal.h"
 #include "extract.h"

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***


More information about the svn-src-all mailing list