git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
54f06c0
)
libi2ncommon: (tomj) fix ipfunc_format_ip wrapper
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 6 Sep 2004 18:05:17 +0000 (18:05 +0000)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 6 Sep 2004 18:05:17 +0000 (18:05 +0000)
src/ipfunc.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/ipfunc.hxx
b/src/ipfunc.hxx
index
2eea18b
..
ac86322
100644
(file)
--- a/
src/ipfunc.hxx
+++ b/
src/ipfunc.hxx
@@
-95,7
+95,7
@@
inline unsigned int ipfunc_netmask2cidr(unsigned int netmask)
// DEPRECATED!!! use IP_RANGE instead
inline std::string ipfunc_format_ip(unsigned int ip)
{
- return IP_RANGE::ip_string(ip);
+ return IP_RANGE::ip_string(IP_RANGE::turn_ip(ip));
}
inline bool operator==(const IP_RANGE& a, const IP_RANGE& b)