diff options
author | 2016-11-24 14:35:43 +0000 | |
---|---|---|
committer | 2016-11-24 14:35:43 +0000 | |
commit | 54b6951b6fbaf2c0da0279d5dbd3a10eb25e3b02 (patch) | |
tree | ebcdf9628f2420e45a9ebe79eda7acbc59388aea | |
parent | Fix so that we work out the right pane from mouse events - we were doing (diff) | |
download | wireguard-openbsd-54b6951b6fbaf2c0da0279d5dbd3a10eb25e3b02.tar.xz wireguard-openbsd-54b6951b6fbaf2c0da0279d5dbd3a10eb25e3b02.zip |
Don't manually add a route to an alias IP via 127.0.0.1. This is
now automatically handled by the kernel.
The same change was made to /etc/netstart in 5.5 with r1.139.
Should fix the (U)pgrade problem reported on bugs@ by Clint Pachl.
ok mpi@
-rw-r--r-- | distrib/miniroot/install.sub | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 25759a18305..b995f18ccd9 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.931 2016/11/14 21:34:39 rpe Exp $ +# $OpenBSD: install.sub,v 1.932 2016/11/24 14:35:43 krw Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -2052,7 +2052,6 @@ ifstart () { if [ "$bcaddr" -a X"$bcaddr" != "XNONE" ]; then cmd="$cmd broadcast $bcaddr" fi - [ "$alias" ] && rtcmd=";route -qn add -host $name 127.0.0.1" ;; inet6) if [ ! -n "$name" ]; then @@ -2065,7 +2064,7 @@ ifstart () { *) cmd="$cmd $mask $bcaddr" ;; esac - cmd="$cmd $ext1 $ext2$rtcmd" rtcmd= + cmd="$cmd $ext1 $ext2" ;; esac eval "$cmd" |