summaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-12 10:59:54 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-12 10:59:54 +0000
commitd468f5520cb27434701c19a9a1c745b39679516b (patch)
tree79b7510c385a1b3ad1135f28394cbbcebdf0d4ad /sys/netinet/in_pcb.c
parent8c76fd03d4027538bdf9e37ad1182cb50a9a45b3 (diff)
IPsec-related socket options; these can be set/removed/retrieved, but
are not taken into consideration in anything just yet.
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r--sys/netinet/in_pcb.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index eec4c6ef0bb..413fd282fdb 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_pcb.c,v 1.54 2001/06/08 03:53:45 angelos Exp $ */
+/* $OpenBSD: in_pcb.c,v 1.55 2001/06/12 10:59:53 angelos Exp $ */
/* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */
/*
@@ -578,8 +578,10 @@ in_pcbdetach(v)
ipsp_reffree(inp->inp_ipsec_localcred);
if (inp->inp_ipsec_remotecred)
ipsp_reffree(inp->inp_ipsec_remotecred);
- if (inp->inp_ipsec_auth)
- ipsp_reffree(inp->inp_ipsec_auth);
+ if (inp->inp_ipsec_localauth)
+ ipsp_reffree(inp->inp_ipsec_localauth);
+ if (inp->inp_ipsec_remoteauth)
+ ipsp_reffree(inp->inp_ipsec_remoteauth);
splx(s);
#endif
s = splnet();