service: Restart wispr on nameserver change
authorForest Bond <forest.bond@rapidrollout.com>
Wed, 5 Dec 2012 21:44:27 +0000 (16:44 -0500)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 6 Mar 2013 11:02:43 +0000 (13:02 +0200)
commitf1d0e1d8925e0bdd9352dd5a59516e274312205d
tree8f7a45e2f135dd17727224ccbf421e1f9c761b19
parent0ba752cd651f972554f573534794b6e17c0e15fb
service: Restart wispr on nameserver change

This is needed to make a service go online in the case where it was
already connected and then manual IPv4 & nameservers settings are
applied.  In that case, wispr is restarted with the new IP settings, but
the nameservers have not been set yet, so the wispr test fails and the
service remains in ready state.
src/service.c