When we release an ip, get the interface name from the kernel
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 20 Jun 2012 00:08:11 +0000 (10:08 +1000)
committerMartin Schwenke <martin@meltin.net>
Mon, 6 May 2013 23:36:30 +0000 (09:36 +1000)
commit60f6beca9eb5a2fb410419f555d92434f862a026
tree64f2004259b609254033768e831b3f462db0c4cf
parentf5a511b72689557db75353eb5bd6c1ea5724f799
When we release an ip, get the interface name from the kernel

instead of using the interface where ctdb thinks the ip is hosted at.
The difference is that this now allows us to handle cases where we want to release an ip   but ctdbd does not know which interface the ip is assigned on.
(user has used 'ip addr add...'  and manually assigned an ip to the wrong interface)

(cherry picked from commit c6bf22ba5c01001b7febed73dd16a03bd3fd2bed)

Conflicts:
server/ctdb_takeover.c
server/ctdb_takeover.c