remove the later. The old version 1.0.5 is unmaintained, has a remote DoS vulnerability and is less reliable than version 1.2.0beta2. Approved by Adrian Portelli.
15 lines
344 B
Text
15 lines
344 B
Text
$NetBSD: patch-ab,v 1.2 2008/06/17 12:53:54 tron Exp $
|
|
|
|
--- src/irc_net.h.orig 2006-02-18 22:39:32.000000000 +0000
|
|
+++ src/irc_net.h
|
|
@@ -23,6 +23,10 @@
|
|
#include <arpa/inet.h>
|
|
#include <time.h>
|
|
|
|
+#ifndef INADDR_LOOPBACK
|
|
+#define INADDR_LOOPBACK inet_addr("127.0.0.1")
|
|
+#endif
|
|
+
|
|
#include "irc_prot.h"
|
|
#include "stringex.h"
|
|
#include "net.h"
|