firmware/src/packages/fff/fff-babeld/Makefile
Christian Dresel e5da228cb1 fff-babeld: Add rule to lookup in fff table for everything except wireguard
With this patch the router answers in traceroute over the fff table with
Freifunk IPs and not with the WAN IP. All other connections use the fff
table too.

We already have the rules with 5000 and 5001 so that wireguard does not use
the fff table anyway and connect the VPN only via the main table.

Signed-off-by: Christian Dresel <freifunk@dresel.systems>
Acked-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
2020-12-16 17:53:56 +01:00

40 lines
727 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-babeld
PKG_RELEASE:=3
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-babeld
include $(INCLUDE_DIR)/package.mk
define Package/fff-babeld
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken babeld configuration example
URL:=http://www.freifunk-franken.de
DEPENDS:=+babeld
endef
define Package/fff-babeld/description
This is the Freifunk Franken Firmware babeld package.
This package provides an example babeld configuration.
endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile
# nothing
endef
define Package/fff-babeld/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fff-babeld))