diff options
| author | Roy Marples <roy@marples.name> | 2018-08-19 21:05:39 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2018-08-19 21:05:39 +0100 |
| commit | 9843139fc2f1c07cfe5a6eca3a5915070e064331 (patch) | |
| tree | 21493a5b6bc924b88310cb90e9223af792a80772 /src/ipv6.c | |
| parent | e5b3f0d2e309002f9f19afe47ac0a4097ee69387 (diff) | |
| download | dhcpcd-9843139fc2f1c07cfe5a6eca3a5915070e064331.tar.xz | |
Consistency
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -430,7 +430,7 @@ ipv6_mask(struct in6_addr *mask, int len) bits = len % NBBY; for (i = 0; i < bytes; i++) mask->s6_addr[i] = 0xff; - if (bits) { + if (bits != 0) { /* Coverify false positive. * bytelen cannot be 16 if bitlen is non zero */ /* coverity[overrun-local] */ |
