aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.c
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2015-09-05 06:24:00 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2015-09-05 06:24:00 +0000
commitdeeedaa54984299f0bf71ec0528f96a45931e7ba (patch)
treeff4ee77599dca56d645765cb07ba173b95ef9020 /sys/netinet6/in6.c
parent91bfd68e3843dca04beeff9bd1b45814e4146772 (diff)
downloadsrc-deeedaa54984299f0bf71ec0528f96a45931e7ba.tar.gz
src-deeedaa54984299f0bf71ec0528f96a45931e7ba.zip
Notes
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r--sys/netinet6/in6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index af6475f6f3a1..37ef5f41a2e4 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -2313,8 +2313,8 @@ in6_lltable_dump_entry(struct lltable *llt, struct llentry *lle,
int error;
bzero(&ndpc, sizeof(ndpc));
- /* skip invalid entries */
- if ((lle->la_flags & (LLE_DELETED|LLE_VALID)) != LLE_VALID)
+ /* skip deleted entries */
+ if ((lle->la_flags & LLE_DELETED) == LLE_DELETED)
return (0);
/* Skip if jailed and not a valid IP of the prison. */
lltable_fill_sa_entry(lle,