bridger: update to Git HEAD (2024-04-22)
authorFelix Fietkau <nbd@nbd.name>
Mon, 22 Apr 2024 08:59:19 +0000 (10:59 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 22 Apr 2024 09:02:52 +0000 (11:02 +0200)
ec8c620fd5f4 split bridge-local disable into rx and tx
40b1c5b6be4e flow: do not attempt to offload bridge-local flows

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/bridger/Makefile
package/network/services/bridger/files/bridger.conf
package/network/services/bridger/files/bridger.init

index b38c2ddbc51d9c7b9f63154a1cac969e452bf4e8..d44e038967e376ca0093cc6524020d18a6c8d70e 100644 (file)
@@ -10,9 +10,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=bridger
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=https://github.com/nbd168/bridger
-PKG_SOURCE_DATE:=2024-04-15
-PKG_SOURCE_VERSION:=a08e51e679dd7e1eaf70ea7fd6b6433e167d4c2d
-PKG_MIRROR_HASH:=e80ac0cc3c5b27afb233c03fed3fbcef34a1b3fdbe0d48532ad1d5c3aac4088d
+PKG_SOURCE_DATE:=2024-04-22
+PKG_SOURCE_VERSION:=40b1c5b6be4e73a6749cf2997c664520eb20055d
+PKG_MIRROR_HASH:=b3ba2ab5ffa1af55f8da2cae5a90df486474b97ed4c359ec40c986aa6e82c300
 
 PKG_LICENSE:=GPL-2.0
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
index 2ff6b5b787aa00d68283e5b8488865bd1d9d0a19..bad8508f14a41f5c89c2ff217571c52ded74dabf 100644 (file)
@@ -1,6 +1,7 @@
 config defaults
        # handle bridge local rx/tx
-       option bridge_local 0
+       option bridge_local_tx 1
+       option bridge_local_rx 0
 
        # example for blacklisting individual devices or bridges
        # list blacklist eth0
index c9983ae9cc64ab6a5b365c989ac19b9336f540bb..057b18a94f4a6edf6ae93eb8498d4a2e9881285b 100644 (file)
@@ -16,8 +16,11 @@ get_defaults() {
        done
        json_close_array
 
-       config_get_bool bridge_local "$cfg" bridge_local 0
-       json_add_boolean bridge_local "$bridge_local"
+       config_get_bool bridge_local_tx "$cfg" bridge_local_tx 1
+       json_add_boolean bridge_local_tx "$bridge_local_tx"
+
+       config_get_bool bridge_local_rx "$cfg" bridge_local_rx 0
+       json_add_boolean bridge_local_rx "$bridge_local_rx"
 }
 
 reload_service() {