1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Check IPs for ASN every day

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-11-01 09:27:38 +01:00
parent df9d3fcc15
commit 6b161f428d
2 changed files with 7 additions and 2 deletions

View file

@ -4,7 +4,7 @@
START=99
STOP=10
USE_PROCD=1
EXTRA_COMMANDS="reload_rules"
EXTRA_COMMANDS="reload_rules bypass_asn"
. /usr/lib/unbound/iptools.sh
@ -340,6 +340,11 @@ _bypass_asn() {
}
bypass_asn() {
config_load omr-bypass
config_foreach _bypass_asn asns
}
_bypass_omr_server() {
local ip
config_get ip $1 ip