summaryrefslogtreecommitdiff
path: root/net/sslh/patches/patch-echosrv.c
blob: 1c2a1676d942d6dd3e5802e67a8e1aafa9937f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-echosrv.c,v 1.2 2014/11/28 10:45:28 bsiegert Exp 

Provide allow_severity and deny_severity for libwrap.

--- echosrv.c.orig	2022-01-01 16:38:28.450058726 +0000
+++ echosrv.c
@@ -41,6 +41,10 @@
 #define SA_NOCLDWAIT 0
 #endif
 
+#ifdef LIBWRAP
+int allow_severity =0, deny_severity = 0;
+#endif
+
 struct echocfg_item cfg;
 
 void check_res_dump(int res, struct addrinfo *addr, char* syscall)