]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix directly connected routes for "topology subnet" on Solaris.
authorGert Doering <gert@greenie.muc.de>
Tue, 26 Mar 2013 16:09:35 +0000 (17:09 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 27 Mar 2013 08:39:24 +0000 (09:39 +0100)
commitc9ec7f77e0726b7ebd9e5824be36118593df01ad
tree9d85465697e922fd3ef3304d5e350e75c7b54c62
parent445d3ef8f88500fc60afee43bd07d14d25f80dae
Fix directly connected routes for "topology subnet" on Solaris.

This basically brings back the previously-working metric setting for
directly connected routes (add a "0" to the "route add" command) on
Solaris/OpenSolaris.  It was working in f0eac1a59790, and got broken
by the route.c/route.h refactoring in 576dc96ca1ef1 - the patch
un-does that change to the TARGET_SOLARIS code, plus adds some more
descriptive comments.

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Josh Cepek <josh.cepek@usa.net>
Message-Id: <1364314175-20758-1-git-send-email-gert@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/7460
(cherry picked from commit 792e8956b999b6932d472e4ab592bff160e52888)
src/openvpn/route.c