Protocols sending the OS's AF_INET6 value are OS-specific or broken.
authorGuy Harris <guy@alum.mit.edu>
Thu, 19 Jun 2014 21:22:54 +0000 (14:22 -0700)
committerGuy Harris <guy@alum.mit.edu>
Thu, 19 Jun 2014 21:23:33 +0000 (21:23 +0000)
commitb936dbd7eec66459c650e0c6354cb402a3867221
tree7a4cbe2f0f4d663b725168591e0e4512d35ce20e
parent9e81d5820a8eb8d7d05d5c5845e6a07d98659ce1
Protocols sending the OS's AF_INET6 value are OS-specific or broken.

Check for all the different AF_INET6 values that are on various OSes.
If Totem is, and will forever be, used *ONLY* on one particular OS, feel
free to remove the uses of other _AF_INET6 values (but do *not* change
back to using the OS's AF_INET6; this should dissect the protocol
correctly on *all* OSes).

Add a common AF_INET definition to epan/aftypes.h while we're at it, and
use that; as most OSes picked up 4.2BSD's AF_INET value, most if not all
of them use 2, but IPv6 came out after 4.2BSD, and various OSes all
picked their own values for AF_INET6.

Change-Id: Iae15dfdd15203ed3ecd078a6499821dc09139a98
Reviewed-on: https://code.wireshark.org/review/2458
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/aftypes.h
epan/dissectors/packet-corosync-totemsrp.c