]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/in_arp.c
xnu-2422.110.17.tar.gz
[apple/xnu.git] / bsd / netinet / in_arp.c
index a18147ce2369129bd75ac74f68e86f2de1d25b4d..b8dbd60386b433f96e129ee086abf45bd9246777 100644 (file)
@@ -532,7 +532,7 @@ arptfree(struct llinfo_arp *la, void *arg)
        if (rt->rt_expire == 0 || (rt->rt_flags & RTF_STATIC)) {
                ap->sticky++;
                /* ARP entry is permanent? */
-               if (!(rt->rt_flags & RTF_STATIC)) {
+               if (rt->rt_expire == 0) {
                        RT_UNLOCK(rt);
                        return;
                }