aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/timer.c
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/timer.c
parentad3dab05200bd088aa25c2be8b7db07de2228b0b (diff)
downloadstrongswan-dc33fee770b7b44eadaf0e9a1eabc3ba94b87d7f.tar.bz2
strongswan-dc33fee770b7b44eadaf0e9a1eabc3ba94b87d7f.tar.xz
removed NAT_TRAVERSAL and VIRTUAL_IP compile options
Diffstat (limited to 'src/pluto/timer.c')
-rw-r--r--src/pluto/timer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pluto/timer.c b/src/pluto/timer.c
index 4d9ef8fab..9d3f90ce3 100644
--- a/src/pluto/timer.c
+++ b/src/pluto/timer.c
@@ -38,10 +38,7 @@
#include "rnd.h"
#include "timer.h"
#include "whack.h"
-
-#ifdef NAT_TRAVERSAL
#include "nat_traversal.h"
-#endif
/* monotonic version of time(3) */
time_t
@@ -427,11 +424,9 @@ handle_timer_event(void)
case EVENT_DPD_TIMEOUT:
dpd_timeout(st);
break;
-#ifdef NAT_TRAVERSAL
case EVENT_NAT_T_KEEPALIVE:
nat_traversal_ka_event();
break;
-#endif
default:
loglog(RC_LOG_SERIOUS, "INTERNAL ERROR: ignoring unknown expiring event %s"
, enum_show(&timer_event_names, type));