From 7fc56666266c2c8d4db09d46d9cc74f28f4b5dcc Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Mon, 6 Sep 2004 18:05:17 +0000 Subject: [PATCH] libi2ncommon: (tomj) fix ipfunc_format_ip wrapper --- src/ipfunc.hxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) -- 1.7.1