Merge pull request #20942 from stangri/master-simple-adblock

simple-adblock: add family to firewall json objects
This commit is contained in:
Stan Grishin 2023-05-08 19:44:48 -06:00 committed by GitHub
commit 34a5faf6c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=simple-adblock PKG_NAME:=simple-adblock
PKG_VERSION:=1.9.5 PKG_VERSION:=1.9.5
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca> PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later

View file

@ -1395,6 +1395,7 @@ adb_start() {
json_add_string proto "tcp udp" json_add_string proto "tcp udp"
json_add_string src_dport "$c" json_add_string src_dport "$c"
json_add_string dest_port "$c" json_add_string dest_port "$c"
json_add_string family any
json_add_boolean reflection 0 json_add_boolean reflection 0
json_close_object json_close_object
else else