X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=functions.sh;h=2f14b52ebdca6ccfc674b4e15bf29441962cf9ea;hb=11273dd169ba2a6b8e742bd7d8bc43958c5306b7;hp=06e42be40ffb895236213055f32efe777a4cc548;hpb=38de75c0ef647a2ecbe153fda14a3caae345497b;p=carnet-tools-cn.git diff --git a/functions.sh b/functions.sh index 06e42be..2f14b52 100644 --- a/functions.sh +++ b/functions.sh @@ -63,12 +63,12 @@ cp_get_cidr() { 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