From ac973b34df9c62841ea4cd895e127b6a99d9a2c9 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 20 Mar 2012 16:21:09 +1100 Subject: Eventscripts - make 13.per_ip_routing try harder to find public_addresses Signed-off-by: Martin Schwenke (This used to be ctdb commit d4621277240721e6d130a930b0100506b64467ea) --- ctdb/config/events.d/13.per_ip_routing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/config/events.d/13.per_ip_routing b/ctdb/config/events.d/13.per_ip_routing index 311827ff9a..92a0f8e83a 100755 --- a/ctdb/config/events.d/13.per_ip_routing +++ b/ctdb/config/events.d/13.per_ip_routing @@ -177,7 +177,7 @@ get_config_for_ip () if [ "$_ip" = "$_i" ] ; then echo -n "$_ip "; ipv4_host_addr_to_net "$_ip" "$_maskbits" fi - done <"${CTDB_PUBLIC_ADDRESSES:-/dev/null}" + done <"${CTDB_PUBLIC_ADDRESSES:-${CTDB_BASE:-/dev/null}${CTDB:+/public_addresses}}" else while read _i _rest ; do if [ "$_ip" = "$_i" ] ; then -- cgit