1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

newer versions of ip need the mask on del

(This used to be ctdb commit b5b13125506256f9ef6599498ee046e73b52df66)
This commit is contained in:
Andrew Tridgell 2007-06-09 21:46:42 +10:00
parent dfe501c2c8
commit 4e0b95ec9c

View File

@ -56,7 +56,7 @@ case $cmd in
iface=$1 iface=$1
ip=$2 ip=$2
maskbits=$3 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" echo "`/bin/date` Failed to del $ip on dev $iface"
exit 1 exit 1
} }