Commit 2d144c37 authored by rswindell's avatar rswindell
Browse files

Using IPv4_LOCALHOST from netwrap.h.

parent 6a0e8c45
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment