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:
parent
90769bf4eb
commit
061c2a7182
@ -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
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user