Date: Sat, 5 Sep 2015 06:24:00 +0000 (UTC) From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287478 - head/sys/netinet6 Message-ID: <201509050624.t856O0mZ091809@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: melifaro Date: Sat Sep 5 06:24:00 2015 New Revision: 287478 URL: https://svnweb.freebsd.org/changeset/base/287478 Log: Do not skip entries without LLE_VALID flag. This one fixes showing incomplete entries in ndp -an. MFC after: 2 weeks Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c ============================================================================== --- head/sys/netinet6/in6.c Sat Sep 5 05:54:09 2015 (r287477) +++ head/sys/netinet6/in6.c Sat Sep 5 06:24:00 2015 (r287478) @@ -2313,8 +2313,8 @@ in6_lltable_dump_entry(struct lltable *l 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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509050624.t856O0mZ091809>