summaryrefslogtreecommitdiff
path: root/net/nidentd/patches
diff options
context:
space:
mode:
authorsymka <symka@pkgsrc.org>2004-11-02 18:40:23 +0000
committersymka <symka@pkgsrc.org>2004-11-02 18:40:23 +0000
commit8b20bb6c230e185c73cea8b431333498d8882543 (patch)
tree32ea90745a8b2eb29d36dddfeed161cba1636e0e /net/nidentd/patches
parent9f4b47263a8cb4fc154f8129c40ec34d26e9b0c3 (diff)
downloadpkgsrc-8b20bb6c230e185c73cea8b431333498d8882543.tar.gz
* Some fixes to work properly with NAT/masq
* Bumped pkgrevision to 2 * Maintainer of this package from now on me - symka@ Ok'eyd by hubertf.
Diffstat (limited to 'net/nidentd/patches')
-rw-r--r--net/nidentd/patches/patch-aa12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/nidentd/patches/patch-aa b/net/nidentd/patches/patch-aa
index abcc7112f94..ececf64ff3e 100644
--- a/net/nidentd/patches/patch-aa
+++ b/net/nidentd/patches/patch-aa
@@ -1,7 +1,5 @@
-$NetBSD: patch-aa,v 1.4 2003/10/07 19:35:34 hubertf Exp $
-
---- nidentd.orig Sat May 4 14:53:01 2002
-+++ nidentd
+--- nidentd.orig 2002-05-04 14:53:01.000000000 +0200
++++ nidentd 2004-11-02 20:12:43.000000000 +0200
@@ -2,8 +2,8 @@
v_lsof="/usr/pkg/sbin/lsof -P -n -Di"
@@ -13,11 +11,13 @@ $NetBSD: patch-aa,v 1.4 2003/10/07 19:35:34 hubertf Exp $
# Protocol independent
-@@ -40,7 +40,7 @@ if [ -n $qlport ] && [ -n $qrport ] && [
+@@ -39,8 +39,8 @@
+ then
if [ $qlport -eq $lport ] && [ $qrport -eq $rport ]
then
- masqip=`$v_ipnat -l | grep -e "MAP" -e " $qlport " -e " $qrport" | awk '{ print $2 }' | tr -c -d '.1234567890'`
+- masqip=`$v_ipnat -l | grep -e "MAP" -e " $qlport " -e " $qrport" | awk '{ print $2 }' | tr -c -d '.1234567890'`
- hostn=`grep ^$masqip $v_nat_conf | awk -F: '{ print $2 }'`
++ masqip=`$v_ipnat -l | grep "MAP" | grep " $qlport " | grep " $qrport" | awk '{ print $2 }' | tr -c -d '.1234567890'`
+ hostn=`grep ^"$masqip:" $v_nat_conf | awk -F: '{ print $2 }'`
if [ $hostn ]
then