More minor config cleanups

This commit is contained in:
Lon Hohberger 2010-01-06 14:44:19 -05:00
parent d8f28a786f
commit 2913b3d30c
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@ listeners {
multicast {
key_file = "/etc/cluster/fence_xvm.key";
family = "ipv4";
multicast_address = "225.0.0.14";
address = "225.0.0.14";
interface = "virbr0";
hash = "sha256";
auth = "sha256";

View File

@ -268,6 +268,9 @@ _sc_set(config_info_t *config, const char *key, const char *value)
return 0;
}
if (!value)
return 0;
id_dup = strdup(ptr);
if (!id_dup)
return -1;