summaryrefslogtreecommitdiff
path: root/ctdb/common/system_common.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2011-09-06 16:11:00 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2011-09-06 16:11:00 +1000
commit64378fea58c28ce9cf1ad6171e41bccb88c1bafc (patch)
tree0bfaa476009465ff468bfcf0353b09f996ebe051 /ctdb/common/system_common.c
parenta3e007956864f5d902f7bec22a2c51d1c391a7ff (diff)
downloadsamba-64378fea58c28ce9cf1ad6171e41bccb88c1bafc.tar.gz
Check interfaces: when reading the public addresses file to create the vnn list
check that the actual interface exist, print error and fail startup if the interface does not exist. (This used to be ctdb commit cd33bbe6454b7b0316bdfffbd06c67b29779e873)
Diffstat (limited to 'ctdb/common/system_common.c')
-rw-r--r--ctdb/common/system_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/common/system_common.c b/ctdb/common/system_common.c
index f28045f95e5..3fe90e6ef39 100644
--- a/ctdb/common/system_common.c
+++ b/ctdb/common/system_common.c
@@ -73,3 +73,5 @@ bool ctdb_sys_have_ip(ctdb_sock_addr *_addr)
close(s);
return ret == 0;
}
+
+