diff -urNp olsrd-0.5.6-orig/lib/dyn_gw/src/olsrd_dyn_gw.c olsrd-0.5.6-dyn-gw-patch/lib/dyn_gw/src/olsrd_dyn_gw.c
--- olsrd-0.5.6-orig/lib/dyn_gw/src/olsrd_dyn_gw.c	2008-09-01 20:11:10.000000000 -0400
+++ olsrd-0.5.6-dyn-gw-patch/lib/dyn_gw/src/olsrd_dyn_gw.c	2008-09-01 20:11:55.000000000 -0400
@@ -206,7 +206,7 @@ static int set_plugin_hna(const char *va
 }
 
 static const struct olsrd_plugin_parameters plugin_parameters[] = {
-    { .name = "interval", .set_plugin_parameter = &set_plugin_double, .data = &check_interval },
+    { .name = "interval", .set_plugin_parameter = &set_plugin_int, .data = &check_interval },
     { .name = "ping",     .set_plugin_parameter = &set_plugin_ping,   .data = NULL },
     { .name = "hna",      .set_plugin_parameter = &set_plugin_hna,    .data = NULL },
 };
diff -urNp olsrd-0.5.6-orig/lib/dyn_gw/src/olsrd_dyn_gw.h olsrd-0.5.6-dyn-gw-patch/lib/dyn_gw/src/olsrd_dyn_gw.h
--- olsrd-0.5.6-orig/lib/dyn_gw/src/olsrd_dyn_gw.h	2008-09-01 20:11:16.000000000 -0400
+++ olsrd-0.5.6-dyn-gw-patch/lib/dyn_gw/src/olsrd_dyn_gw.h	2008-09-01 20:12:07.000000000 -0400
@@ -43,6 +43,7 @@
 #define _OLSRD_PLUGIN_TEST
 
 #include "olsrd_plugin.h"
+#include "plugin_util.h"
 
 #define INET_NET       0
 #define INET_PREFIX    0
