summaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2011-07-03 05:18:37 +0000
committerHiroki Sato <hrs@FreeBSD.org>2011-07-03 05:18:37 +0000
commitbfcc6c1858a99d44000e2aa81576ef3dfc5bb6d9 (patch)
treeca4dc5869b37fe5de06907a914dccc13ea23da09 /net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c
parent- Update to 0.91 (diff)
- Update to a 4.9 snapshot as of 2011.06.12.
- Use USERS and GROUPS.
Diffstat (limited to 'net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c')
-rw-r--r--net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c b/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c
index d7754e350646..6e2a53f6d341 100644
--- a/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c
+++ b/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c
@@ -3,8 +3,8 @@ Index: openbsd-compat/pfkey_compat.c
RCS file: openbsd-compat/pfkey_compat.c
diff -N openbsd-compat/pfkey_compat.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
-+++ openbsd-compat/pfkey_compat.c 30 Jun 2009 06:40:07 -0000 1.1
-@@ -0,0 +1,27 @@
++++ openbsd-compat/pfkey_compat.c 2 Jul 2011 16:06:38 -0000 1.2
+@@ -0,0 +1,32 @@
+#include "bgpd.h"
+#include "session.h"
+
@@ -32,3 +32,8 @@ diff -N openbsd-compat/pfkey_compat.c
+ return (0);
+}
+
++int
++pfkey_read(int sd, struct sadb_msg *h)
++{
++ return (1);
++}