From: Martin Schwenke Date: Fri, 18 Dec 2015 04:33:38 +0000 (+1100) Subject: ctdb-scripts: Fix regression in updateip code X-Git-Tag: samba-4.3.12~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=358c3a00697f5f3ae4e4dd80b55c538b2d6f996d;p=thirdparty%2Fsamba.git 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) Autobuild-User(v4-3-test): Karolin Seeger Autobuild-Date(v4-3-test): Fri Aug 5 13:17:21 CEST 2016 on sn-devel-104 --- diff --git a/ctdb/config/events.d/10.interface b/ctdb/config/events.d/10.interface index acc0fc82ddc..063f0914d0a 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