summaryrefslogtreecommitdiff
path: root/security/racoon/files/patch-pfkey_dump.c
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2005-05-10 04:16:21 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2005-05-10 04:16:21 +0000
commitd4cf1e1bbbbefd097c0ba849d5ccc5cd0484fcb7 (patch)
tree45fb5773f03f5d9e837e22d40a7b46d79c47d492 /security/racoon/files/patch-pfkey_dump.c
parent- Update to 1.0.2 (diff)
Upgrade to 20050510a. This is final release from KAME project.
racoon will be officially developed and supported by ipsec-tools team. See ftp://ftp.kame.net/pub/mail-list/snap-users/9012 in detail.
Notes
Notes: svn path=/head/; revision=134968
Diffstat (limited to 'security/racoon/files/patch-pfkey_dump.c')
-rw-r--r--security/racoon/files/patch-pfkey_dump.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/racoon/files/patch-pfkey_dump.c b/security/racoon/files/patch-pfkey_dump.c
new file mode 100644
index 000000000000..d05adf29811b
--- /dev/null
+++ b/security/racoon/files/patch-pfkey_dump.c
@@ -0,0 +1,20 @@
+--- ../libipsec/pfkey_dump.c.orig Mon Jan 31 17:25:28 2005
++++ ../libipsec/pfkey_dump.c Tue May 10 13:00:38 2005
+@@ -532,7 +532,7 @@ str_prefport(family, pref, port, ulp)
+ else
+ snprintf(prefbuf, sizeof(prefbuf), "/%u", pref);
+
+- if (ulp == IPPROTO_ICMPV6 || ulp == IPPROTO_MH)
++ if (ulp == IPPROTO_ICMPV6)
+ memset(portbuf, 0, sizeof(portbuf));
+ else {
+ if (port == IPSEC_PORT_ANY)
+@@ -570,8 +570,6 @@
+ else
+ printf("%u", ulp);
+
+- if (ulp == IPPROTO_MH && p1 != 0)
+- printf(" %u", p1);
+ endprotoent();
+ break;
+ }