Fix issues with DLEP udp_mode none and reconnect
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Tue, 3 Apr 2018 10:46:43 +0000 (12:46 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Tue, 3 Apr 2018 10:46:43 +0000 (12:46 +0200)
src-plugins/generic/dlep/radio/dlep_radio.c
src-plugins/generic/dlep/router/dlep_router_interface.c

index ebad508..8cc9b8c 100644 (file)
@@ -98,7 +98,7 @@ static struct cfg_schema_entry _radio_entries[] = {
 
   CFG_MAP_INT32_MINMAX(dlep_radio_if, tcp_config.port, "session_port", DLEP_WELL_KNOWN_SESSION_PORT_TXT,
     "Server port for DLEP tcp sessions", 0, 1, 65535),
-  CFG_MAP_ACL_V46(dlep_radio_if, tcp_config.bindto, "session_bindto", "224.0.0.1\0fe80::/10",
+  CFG_MAP_ACL_V46(dlep_radio_if, tcp_config.bindto, "session_bindto", "169.254.0.0/16\0fe80::/10",
     "Filter to determine the binding of the TCP server socket"),
   CFG_MAP_CLOCK_MINMAX(dlep_radio_if, interf.session.cfg.heartbeat_interval, "heartbeat_interval", "1.000",
     "Interval in seconds between two heartbeat signals", 1000, 65535 * 1000),
index 50504de..7ac2dc2 100644 (file)
@@ -103,6 +103,7 @@ static struct oonf_layer2_origin _l2_default_origin = {
 static struct oonf_timer_class _connect_to_watchdog_class = {
   .name = "connect_to watchdog",
   .callback = _cb_check_connect_to_status,
+  .periodic = true,
 };
 
 /**