cacl broadcast address in configeth

This commit is contained in:
xq2005 2013-11-12 18:44:14 -08:00
parent e6a4b0d8fb
commit 805adea8be

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