git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd5ff8
)
IP reallocation. If a public address is already hosted on the node when we startup...
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sun, 13 Mar 2011 22:55:28 +0000
(09:55 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sun, 13 Mar 2011 22:55:28 +0000
(09:55 +1100)
CQ S1022356
server/ctdb_takeover.c
patch
|
blob
|
history
diff --git
a/server/ctdb_takeover.c
b/server/ctdb_takeover.c
index 1d6fe6e4b8ba13c4a71b447501d227674ebb4e19..3dac1f7fdd1b268a762d8082ca3c9eb550f332ee 100644
(file)
--- a/
server/ctdb_takeover.c
+++ b/
server/ctdb_takeover.c
@@
-596,7
+596,7
@@
int32_t ctdb_control_takeover_ip(struct ctdb_context *ctdb,
DEBUG(DEBUG_CRIT,(__location__ " takeoverip of IP %s is known to the kernel, "
"but we have no interface assigned, has someone manually configured it? Ignore for now.\n",
ctdb_addr_to_str(&vnn->public_address)));
- return
-1
;
+ return
0
;
}
if (vnn->pnn != ctdb->pnn && have_ip && vnn->pnn != -1) {