]> The Tcpdump Group git mirrors - tcpdump/commit
ip6r0_reserved is an array of octets; extract the value from it.
authorGuy Harris <[email protected]>
Tue, 14 Mar 2017 19:22:28 +0000 (12:22 -0700)
committerDenis Ovsienko <[email protected]>
Sun, 3 Sep 2017 23:08:58 +0000 (00:08 +0100)
commit0bd9541d15072cd3c8a5dc35b0e1b404f60bd9a6
treeb9c61a3e62adc0a06bc7d8f2604f398b049c8f44
parentcadd795ba93e0db4a40132a3c0180593ef50ef6e
ip6r0_reserved is an array of octets; extract the value from it.

dp0->ip6r0_reserved evaluates to a pointer to the first element of the
array, which is always non-null, so it doesn't test whether the *value*
of the field is non-zero.  Call EXTRACT_32BITS() on it to check whether
the value is zero.
print-rt6.c