mirror of https://github.com/apache/cloudstack.git
bug 13821: Shutdown interface with ip 0.0.0.0
status 13821: resolved fixed Reviewed-by: Frank
This commit is contained in:
parent
e8c309b447
commit
280fb3e72b
|
|
@ -194,6 +194,11 @@ setup_interface() {
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ "$ip" == "0.0.0.0" -o "$ip" == "" ]
|
||||
then
|
||||
ifconfig $intf down
|
||||
fi
|
||||
|
||||
if [ "$force" == "force" ]
|
||||
then
|
||||
ifdown $intf
|
||||
|
|
|
|||
Loading…
Reference in New Issue