diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-09-06 16:11:00 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-09-06 16:11:00 +1000 |
commit | 64378fea58c28ce9cf1ad6171e41bccb88c1bafc (patch) | |
tree | 0bfaa476009465ff468bfcf0353b09f996ebe051 /ctdb/common/system_common.c | |
parent | a3e007956864f5d902f7bec22a2c51d1c391a7ff (diff) | |
download | samba-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.c | 2 |
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; } + + |