connection: Try to avoid having two default gateways
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 14 Mar 2012 15:28:59 +0000 (17:28 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 19 Mar 2012 11:09:21 +0000 (13:09 +0200)
commit54167035198230e65aea2a4054d29ac67a7c8d60
tree77dbcb86817003e91d3e083e86a4312fcd3280db
parentf791aade7da5f992ad3bc4626c274ec28ab426d6
connection: Try to avoid having two default gateways

It is possible that because the rtnl messages arrive
asynchronously, we might end up having two default gateways
that are both active at the same time. If that happens, we try
to downgrade the one that is not yet active.
src/connection.c