Fix handling of OLSRv2 lan (locally attached networks) plugins (both new and legacy)
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Mon, 26 Feb 2018 06:47:49 +0000 (07:47 +0100)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Mon, 26 Feb 2018 06:47:49 +0000 (07:47 +0100)
src-plugins/olsrv2/olsrv2_lan/olsrv2_lan.c
src/olsrd2/CMakeLists.txt

index 37fa06e..06c62da 100644 (file)
@@ -94,7 +94,7 @@ static struct cfg_schema_entry _olsrv2_lan_entries[] = {
 };
 
 static struct cfg_schema_section _olsrv2_lan_section = {
-  .type = CFG_OLSRV2_SECTION,
+  .type = OONF_OLSRV2_LAN_SUBSYSTEM,
   .mode = CFG_SSMODE_NAMED,
   .cb_delta_handler = _cb_cfg_olsrv2_lan_changed,
   .entries = _olsrv2_lan_entries,
index 714639d..631bb74 100644 (file)
@@ -54,6 +54,7 @@ IF (NOT OONF_STATIC_PLUGINS)
                              olsrv2
                              olsrv2info
                              olsrv2_lan
+                             olsrv2_old_lan
                              netjsoninfo
                              lan_import
                              auto_ll4