mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
initialize i
This commit is contained in:
parent
f153f1f26e
commit
6ee04579cc
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,7 @@ _bypass_domains() {
|
||||||
domain="$(echo '"$domain"' | sed 's:*::')"
|
domain="$(echo '"$domain"' | sed 's:*::')"
|
||||||
domainlist=""
|
domainlist=""
|
||||||
# construct list of domains to query
|
# construct list of domains to query
|
||||||
|
i=0
|
||||||
for tld in $tlds; do
|
for tld in $tlds; do
|
||||||
i=$((i+1))
|
i=$((i+1))
|
||||||
# trim off header
|
# trim off header
|
||||||
|
@ -371,6 +372,7 @@ _bypass_proto() {
|
||||||
if [ "$(echo $domain | grep '\.$')" != "" ]; then
|
if [ "$(echo $domain | grep '\.$')" != "" ]; then
|
||||||
domainlist=""
|
domainlist=""
|
||||||
# construct list of domains to query
|
# construct list of domains to query
|
||||||
|
i=0
|
||||||
for tld in $tlds; do
|
for tld in $tlds; do
|
||||||
i=$((i+1))
|
i=$((i+1))
|
||||||
# trim off header
|
# trim off header
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue