]> The Tcpdump Group git mirrors - tcpdump/commit
ICMPv6: Squelch a GCC warning
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 14 Feb 2018 10:51:09 +0000 (11:51 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 14 Feb 2018 10:51:09 +0000 (11:51 +0100)
commite048961ec1e1b1d9b44ab6315fd87e826edc04c6
tree6115a8b44c700e4775d2440b96477f5d3a3a143c
parenta7ca1167edaf5db14e5dc1c191d679c3d291e396
ICMPv6: Squelch a GCC warning

The warning was:
./print-icmp6.c: In function 'icmp6_print':
./print-icmp6.c:1284:10: warning: cast discards '__attribute__((const))'
  qualifier from pointer target type [-Wcast-qual]
    in6 = (const nd_ipv6 *)(dp + 1);
          ^
print-icmp6.c