aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/kernel.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-07-07 05:50:02 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-07-07 05:50:02 +0000
commitdc33fee770b7b44eadaf0e9a1eabc3ba94b87d7f (patch)
tree4424b5bb89bebbb48d02965944a1ec1a0eafb4d4 /src/pluto/kernel.h
parentad3dab05200bd088aa25c2be8b7db07de2228b0b (diff)
downloadstrongswan-dc33fee770b7b44eadaf0e9a1eabc3ba94b87d7f.tar.bz2
strongswan-dc33fee770b7b44eadaf0e9a1eabc3ba94b87d7f.tar.xz
removed NAT_TRAVERSAL and VIRTUAL_IP compile options
Diffstat (limited to 'src/pluto/kernel.h')
-rw-r--r--src/pluto/kernel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pluto/kernel.h b/src/pluto/kernel.h
index c01ff31f9..e7ff08c7b 100644
--- a/src/pluto/kernel.h
+++ b/src/pluto/kernel.h
@@ -69,11 +69,11 @@ struct kernel_sa {
unsigned compalg;
int encapsulation;
-#ifdef NAT_TRAVERSAL
+
u_int16_t natt_sport, natt_dport;
u_int8_t transid, natt_type;
ip_address *natt_oa;
-#endif
+
const char *text_said;
};
@@ -195,6 +195,4 @@ extern bool was_eroute_idle(struct state *st, time_t idle_max
extern bool get_sa_info(struct state *st, bool inbound, u_int *bytes
, time_t *use_time);
-#ifdef NAT_TRAVERSAL
extern bool update_ipsec_sa(struct state *st);
-#endif