]> 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]>
Wed, 13 Sep 2017 11:25:44 +0000 (12:25 +0100)
commit93493458ca50fa3fa45be20e2ed087a5dc2c594d
tree879b71cb68afe91a2a910447d7a58733ed96b490
parent95cb8ad87a7c6dbf726e5b0256b9e484d208fda5
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