projects
/
carnet-upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38de75c
)
r5: Ispravka u get_cidr (get_ifaddr -> cp_get_ifaddr)
author
Damir Dzeko
<Damir.Dzeko@CARNet.hr>
Sun, 20 Mar 2005 21:01:19 +0000
(21:01 +0000)
committer
Damir Dzeko
<Damir.Dzeko@CARNet.hr>
Sun, 20 Mar 2005 21:01:19 +0000
(21:01 +0000)
functions.sh
patch
|
blob
|
history
diff --git
a/functions.sh
b/functions.sh
index
06e42be
..
2f14b52
100644
(file)
--- 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