1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

config/10.interface: use delete_ip_from_iface also in the "init" event

metze

(This used to be ctdb commit e2bc5c25116747c58505fe1cb3e2d164257377d1)
This commit is contained in:
Stefan Metzmacher 2010-02-12 11:25:26 +01:00
parent 90769bf4eb
commit 061c2a7182

View File

@ -136,7 +136,7 @@ case "$1" in
_IFACE=`echo $_IP_HELD | sed -e "s/.*\s//"`
_NM=`echo $_IP_HELD | sed -e "s/.*$_IP\///" -e "s/\s.*//"`
echo "Removing public address $_IP/$_NM from device $_IFACE"
/sbin/ip addr del $_IP/$_NM dev $_IFACE
delete_ip_from_iface $_IFACE $_IP $_NM
}
done
;;