X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/b2bd9655946aa73a31b5e5d9baf417cd38938cd8..810e88371a3a238b859adff9969a1f16454d77ad:/l2tpns.c?ds=sidebyside diff --git a/l2tpns.c b/l2tpns.c index 6287c3e..ecae249 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -4,7 +4,7 @@ // Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced // vim: sw=8 ts=8 -char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.154 2005/12/20 04:57:16 bodea Exp $"; +char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.155 2006/01/19 20:55:03 bodea Exp $"; #include #include @@ -3949,7 +3949,7 @@ static void initippool() else { // It's a single ip address - add_to_ip_pool(inet_addr(pool), 0); + add_to_ip_pool(ntohl(inet_addr(pool)), 0); } } fclose(f);