device: Turn off all running interfaces at startup
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 9 Jul 2012 09:24:48 +0000 (12:24 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 9 Jul 2012 12:30:50 +0000 (09:30 -0300)
commit8b31871f2dd8210c6d40f90be456ccfbf790bd36
treedc77464f060dd3c6d3e1ece73f278839174627a7
parentdebd3f4f9865fdd5a998a3845c42fb1d415ceef6
device: Turn off all running interfaces at startup

Turning off running interfaces that have IP address,
causes all routes related to those interfaces to be
removed by kernel. This way connman will get a fresh
start without any extra and obsolete routes around.
src/device.c