blob: b7d577a6f81dff9eaf9c524696d6f22f4531123d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-cd,v 1.4 2004/08/22 15:11:09 taca Exp $
--- src/client_side.c.orig 2004-08-20 18:35:25.000000000 +0900
+++ src/client_side.c
@@ -2752,6 +2752,9 @@ parseHttpRequest(ConnStateData * conn, m
natLookup.nl_inip = http->conn->me.sin_addr;
natLookup.nl_outip = http->conn->peer.sin_addr;
natLookup.nl_flags = IPN_TCP;
+#ifndef IPL_NAT
+#define IPL_NAT IPNAT_NAME
+#endif
if (natfd < 0) {
int save_errno;
enter_suid();
|