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>
Thu, 12 Jul 2012 03:49:20 +0000 (13:49 +1000)
commit0c6d9b84b12d32cb8f563f441377eaf2c9648b99
treea62d62131f24d453aa62f064c5fb7304d6f7dd3c
parente609b63bc3dd2eb838fbf11997a49730c89a6a5e
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)
server/ctdb_takeover.c