libi2ncommon: (tomj) fix ipfunc_format_ip wrapper
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 6 Sep 2004 18:05:17 +0000 (18:05 +0000)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 6 Sep 2004 18:05:17 +0000 (18:05 +0000)
src/ipfunc.hxx

index 2eea18b..ac86322 100644 (file)
@@ -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)