summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/systems.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-15 20:21:15 +0000
committerbrian <brian@FreeBSD.org>1997-12-15 20:21:15 +0000
commit3cf8c7250c4c9be79210620f6abbf4a1db96f258 (patch)
tree94ffeb5628413be4c3e875a64780c67172cd1973 /usr.sbin/ppp/systems.c
parent4595f412fe410325da0d4a1a0fd01431495ebb1a (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud