connection: Remove original default route only when needed
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Thu, 5 Apr 2012 09:00:53 +0000 (12:00 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 5 Apr 2012 11:18:46 +0000 (14:18 +0300)
commit5cd592480e57608c5306ed743c23b3cc2d98455a
tree6b9a691a05bd886c8052ad7f6a40b63d758bb7bf
parenta5b2875fca80a2b8b3cfe29191ac77639d5aaca6
connection: Remove original default route only when needed

If the new VPN gateway has split routing set, then do not
clear original default route because VPN will not set the
default route. Without this check we would not get any
proper default route set.
src/connection.c