Patches for IPv6 care for recent FreeBSD

These patches fix some warnings identified when compiling IPv6 care on FreeBSD with a recent version of clang as a compiler.