From: Thomas Jarosch Date: Mon, 6 Sep 2004 18:05:17 +0000 (+0000) Subject: libi2ncommon: (tomj) fix ipfunc_format_ip wrapper X-Git-Tag: v2.6~226 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=7fc56666266c2c8d4db09d46d9cc74f28f4b5dcc;p=libi2ncommon libi2ncommon: (tomj) fix ipfunc_format_ip wrapper --- diff --git a/src/ipfunc.hxx b/src/ipfunc.hxx index 2eea18b..ac86322 100644 --- 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)