diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-27 09:27:18 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-27 09:27:18 +0000 |
commit | a184ccbad77120d0a4ecedb1f1235243f79ef56f (patch) | |
tree | 49965e77e564f8694f7aca8b7221c2b42801a9b1 /sys/net | |
parent | 67cb7d857fed823337c6d5b3e50fd4601a1d4900 (diff) |
don't convert tcpmd5 to ip-over-ip in SADB_X_GETSPROTO; from hshoexer
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pfkeyv2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h index 91aed8ba4e5..025d065cf13 100644 --- a/sys/net/pfkeyv2.h +++ b/sys/net/pfkeyv2.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkeyv2.h,v 1.49 2003/12/02 23:16:29 markus Exp $ */ +/* $OpenBSD: pfkeyv2.h,v 1.50 2004/01/27 09:27:17 markus Exp $ */ /* * @(#)COPYRIGHT 1.1 (NRL) January 1998 * @@ -216,6 +216,7 @@ struct sadb_x_udpencap { #define SADB_X_GETSPROTO(x) \ ( (x) == SADB_SATYPE_AH ? IPPROTO_AH :\ (x) == SADB_SATYPE_ESP ? IPPROTO_ESP :\ + (x) == SADB_X_SATYPE_TCPSIGNATURE ? IPPROTO_TCP :\ (x) == SADB_X_SATYPE_IPCOMP ? IPPROTO_IPCOMP: IPPROTO_IPIP ) #endif |