cacl broadcast address in configeth

This commit is contained in:
xq2005 2013-11-12 18:45:49 -08:00
parent 2afe367b20
commit c010a68bb3

View File

@ -199,7 +199,7 @@ function add_ip_temporary(){
str_label=$str_nic_name
fi
str_bcase=$(calcbcase $str_ip $str_mask)
str_bcase=$(v4calcbcase $str_ip $str_mask)
#the label is ready, add the ip address directly
ip addr add $str_ip/${str_mask} broadcast $str_bcase dev $str_nic_name scope global label $str_label
fi