diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index 5b9ac5556db65eeb8097f9ce696225a19c01cf3e..c9c57dcd35ff5f3a02a4d411b9d8c3b8c78fdf89 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2007 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2008 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -38,6 +38,7 @@ #include "sbbs.h" #include "ident.h" #include "telnet.h" +#include "netwrap.h" #ifdef __unix__ #include <sys/un.h> @@ -5116,7 +5117,7 @@ NO_SSH: /*****************************/ memset(&tmp_addr, 0, sizeof(tmp_addr)); - tmp_addr.sin_addr.s_addr = htonl(0x7f000001U); + tmp_addr.sin_addr.s_addr = htonl(IPv4_LOCALHOST); tmp_addr.sin_family = AF_INET; tmp_addr.sin_port = 0;