Rev 521: newer versions of ip need the mask on del in	http://samba.org/~tridge/ctdb ------------------------------------------------------------
revno: 521
revision-id: tridge@samba.org-20070609114642-748hfwtukybwnilg
parent: tridge@samba.org-20070609113159-5dbmd2zzrudupla8
committer: Andrew Tridgell 
branch nick: tridge
timestamp: Sat 2007-06-09 21:46:42 +1000
message:
  newer versions of ip need the mask on del
modified:
  config/events.d/10.interface   10.interface-20070604050809-s21zslfirn07zjt8-1
=== modified file 'config/events.d/10.interface'
--- a/config/events.d/10.interface	2007-06-06 02:08:42 +0000
+++ b/config/events.d/10.interface	2007-06-09 11:46:42 +0000
@@ -56,7 +56,7 @@
 	iface=$1
 	ip=$2
 	maskbits=$3
-	/sbin/ip addr del $ip dev $iface || {
+	/sbin/ip addr del $ip/$maskbits dev $iface || {
 		 echo "`/bin/date` Failed to del $ip on dev $iface"
 		 exit 1
 	}

