]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
don't need maskbits to ip addr del
authorAndrew Tridgell <tridge@samba.org>
Tue, 29 May 2007 03:21:37 +0000 (13:21 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 29 May 2007 03:21:37 +0000 (13:21 +1000)
(This used to be ctdb commit 93125b460a44934f30bb995ff3c5365ac5a263d5)

ctdb/tools/events

index 375e45d484eb9e8dd5ed8f06b61dbb9d782ca8d2..3de92d0f3c7de6ceda4a47addd8b8e9faeffb279 100755 (executable)
@@ -25,7 +25,7 @@ case $cmd in
        iface=$1
        ip=$2
        maskbits=$3
-       exec /sbin/ip addr del $ip/$maskbits dev $iface
+       exec /sbin/ip addr del $ip dev $iface
        exit 1
        ;;