Date: Mon, 15 Dec 1997 12:21:17 -0800 (PST) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp route.c Message-ID: <199712152021.MAA18298@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1997/12/15 12:21:17 PST Modified files: usr.sbin/ppp route.c Log: Do 2 passes when "delete all"ing. The first pass removes all RTF_WASCLONED routes, and the second removes the others. This avoids the situation where we've added an RTF_CLONING route (such as ``default''), created some clones, then deleted the CLONING route before the WASCLONED route(s). Without the two passes, we get errno (not rtm_errno) set to ESRCH when deleting the WASCLONED route, despite the deletion succeeding ! Also: Enhance the route operation failure diagnostics. Make portability #ifdefs a bit more generic. Revision Changes Path 1.32 +54 -28 src/usr.sbin/ppp/route.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712152021.MAA18298>