From adb222aa55b41d5d1d81e5e24ec45897d567adae Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Fri, 18 Dec 2015 15:33:38 +1100 Subject: [PATCH] ctdb-scripts: Fix regression in updateip code Regression introduced in commit 6471541d6d2bc9f2af0ff92b280abbd1d933cf88. Signed-off-by: Martin Schwenke Reviewed-by: Michael Adam BUG: https://bugzilla.samba.org/show_bug.cgi?id=12106 (cherry picked from commit d8e4c5a468286ecc1c38ecd66a3606e84db02373) --- ctdb/config/events.d/10.interface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/config/events.d/10.interface b/ctdb/config/events.d/10.interface index acc0fc8..063f091 100755 --- a/ctdb/config/events.d/10.interface +++ b/ctdb/config/events.d/10.interface @@ -291,7 +291,7 @@ case "$1" in _ip=$4 _maskbits=$5 - get_iface_ip_maskbits_family "$_oiface" "$ip" "$maskbits" + get_iface_ip_maskbits_family "$_oiface" "$_ip" "$_maskbits" oiface="$iface" # we do an extra delete to cope with the script being killed -- 1.9.1