summaryrefslogtreecommitdiff
path: root/oonf-olsrd2
diff options
context:
space:
mode:
authorPatrick Grimm <patrick@lunatiki.de>2023-01-08 18:14:36 +0100
committerNick Hainke <vincent@systemli.org>2023-02-20 22:56:35 +0100
commit14afd9b17299a9f601a152618da064f5c3e44d4a (patch)
treeff3bf16456362057380b6e39c0d71a8849c45b1d /oonf-olsrd2
parent20e1b16a97ff7d152ea5f9ce34faf7503aba8e4a (diff)
oonf-olsrd2: add missing static plugin olsrv2_lan
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
Diffstat (limited to 'oonf-olsrd2')
-rw-r--r--oonf-olsrd2/Config.in12
-rw-r--r--oonf-olsrd2/Makefile2
2 files changed, 14 insertions, 0 deletions
diff --git a/oonf-olsrd2/Config.in b/oonf-olsrd2/Config.in
index 1cc037a..b0d7d7c 100644
--- a/oonf-olsrd2/Config.in
+++ b/oonf-olsrd2/Config.in
@@ -44,4 +44,16 @@
The MPR plugin reduce the routing graph to limit the overhead of the OLSRv2 protocol
default n
+ config OONF_OLSRV2_LAN
+ bool "New config option for Locally attached entries"
+ help
+ Adds the 'lan' section to the config to configure LANs without setting multiple settings in a single key/value pair
+ default y
+
+ config OONF_OLSRV2_OLD_LAN
+ bool "Legacy option for Locally attached entries"
+ help
+ Adds the olsr 'lan' config key in the olsrv2 section
+ default n
+
endmenu
diff --git a/oonf-olsrd2/Makefile b/oonf-olsrd2/Makefile
index 40190ed..b733b80 100644
--- a/oonf-olsrd2/Makefile
+++ b/oonf-olsrd2/Makefile
@@ -27,6 +27,8 @@ CMAKE_OPTIONAL_PLUGINS:= $(subst $(SPACE),;,$(strip \
$(if $(filter y,$(CONFIG_OONF_GENERIC_REMOTECONTROL)),remotecontrol,) \
$(if $(filter y,$(CONFIG_OONF_OLSRV2_MPR)),mpr,) \
$(if $(filter y,$(CONFIG_OONF_GENERIC_HTTP)),http,) \
+ $(if $(filter y,$(CONFIG_OONF_OLSRV2_LAN)),olsrv2_lan,) \
+ $(if $(filter y,$(CONFIG_OONF_OLSRV2_OLD_LAN)),olsrv2_old_lan,) \
))
BUILD_TYPE:= $(if $(filter y,$(CONFIG_DEBUG)),Debug,Release)