service: Remove the gateways when removing the service
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Tue, 18 Oct 2011 10:17:46 +0000 (13:17 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 28 Oct 2011 15:56:19 +0000 (17:56 +0200)
commite765483c24b6107ee2def813f229685e01e297cf
tree5b72979da0c15c332a725e6d257cd1b948e8c30d
parent42208683c38f0bd6c364904990f5d21b6026e175
service: Remove the gateways when removing the service

This is needed because connection.c takes a reference
of the service so we want to remove the gateways properly
so that service can be deleted and IP addresses released
when disconnection comes from network side (like when
ethernet cable is disconnected).
src/service.c