diff options
author | brian <brian@FreeBSD.org> | 1997-12-15 20:21:15 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-15 20:21:15 +0000 |
commit | 3cf8c7250c4c9be79210620f6abbf4a1db96f258 (patch) | |
tree | 94ffeb5628413be4c3e875a64780c67172cd1973 /usr.sbin/ppp/systems.c | |
parent | 4595f412fe410325da0d4a1a0fd01431495ebb1a (diff) | |
download | FreeBSD-src-3cf8c7250c4c9be79210620f6abbf4a1db96f258.zip FreeBSD-src-3cf8c7250c4c9be79210620f6abbf4a1db96f258.tar.gz |
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.
Diffstat (limited to 'usr.sbin/ppp/systems.c')
0 files changed, 0 insertions, 0 deletions