Hi, Is there any reason why, when bringing down a tunnel device, tunclose() from src/sys/net/if_tun.c only removes routing entries of the AF_INET family? It seems to be an omission: There is pretty much the same code in tapclose() from src/sys/net/if_tap.c; but that one removes all entries, regardless of the address family.
I have problems because of this, as I am using if_tun with IPv6 at the moment, and the kernel does not cleanup routes when the tunneling program dies (PR kern/100080). Would there be any problem in removing the "if (ifa->ifa_addr->sa_family == AF_INET)" line in the TAILQ_FOREACH loop? Regards, -- Remi Denis-Courmont http://www.simphalempin.com/home/ _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"