Skip to content

Commit

Permalink
Create the default router last. This allows using an static
Browse files Browse the repository at this point in the history
interface route for default routes, which seems to be common
among many dedicated hosting providers.

Reviewed by:	hrs
MFC after:	2 weeks
  • Loading branch information
delphij committed Sep 2, 2013
1 parent d636659 commit a866db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/rc.d/routing
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ static_inet()
[Nn][Oo] | '')
;;
*)
static_routes="_default ${static_routes}"
static_routes="${static_routes} _default"
route__default="default ${defaultrouter}"
;;
esac
Expand Down Expand Up @@ -205,7 +205,7 @@ static_inet6()
[Nn][Oo] | '')
;;
*)
ipv6_static_routes="_default ${ipv6_static_routes}"
ipv6_static_routes="${ipv6_static_routes} _default"
ipv6_route__default="default ${ipv6_defaultrouter}"
;;
esac
Expand Down

0 comments on commit a866db8

Please sign in to comment.