connection: Fix host route to VPN server
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 7 May 2012 15:31:03 +0000 (17:31 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 8 May 2012 14:47:18 +0000 (07:47 -0700)
commitad0a13c86d3ff5538236746c0c527c93d1d285e2
tree9bcee6da590f06e5e853c344cf5e5e1160cb8410
parentd22ad18e9c5541ab3ed2ae2b7392af1da214977d
connection: Fix host route to VPN server

The kernel will ignore host routes which are bogus.
In case of a PtP connection such as PPP for cellular the
gateway address should not be used.
src/connection.c