Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_1
Revision 1.172 / (download) - annotate - [select for diffs], Tue Dec 6 14:01:43 2016 UTC (7 years, 6 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.171: +19 -12 lines
Diff to previous 1.171 (colored)
Do not lose the default route when netstart(8) is run a second time on the interface pointed to by the default route. Since the kernel no longer keep routes with dangling address pointer, netstart(8) has to re-add the default route when the corresponding ifa has been deleted and re-created. deraadt@ points out that even if the previous semantic was not necessarily better, a script like netstart(8) cannot totally fix the default route problem. Regression reported by and fix tested by Hrvoje Popovski. ksh foo checked by halex@