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:
parent
dfe501c2c8
commit
4e0b95ec9c
@ -56,7 +56,7 @@ case $cmd in
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user