return 1
fi
- ipaddress="`get_ifaddr $interface`"
+ ipaddress="`cp_get_ifaddr $interface`"
if [ -z $ipaddress ]; then
[ -z "$CP_ECHO_RETURN" ] || echo "cp_get_cidr: $interface: No such ipaddress"
return 1
fi
- netmask="`get_ifmask $interface`"
+ netmask="`cp_get_ifmask $interface`"
if [ -z $netmask ]; then
[ -z "$CP_ECHO_RETURN" ] || echo "cp_get_cidr: $interface: No such netmask"
return 1