aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/timer.c
diff options
context:
space:
mode:
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));