diff options
author | Tristan <steckbrief@geekmail.de> | 2023-09-06 13:13:59 +0200 |
---|---|---|
committer | Tristan <steckbrief@geekmail.de> | 2023-09-06 13:13:59 +0200 |
commit | 54085b0dc5192e6c3c9ae3f277c59a57a827f7b9 (patch) | |
tree | b6b3e544932cb5ac2effbefa38f4f8122fadbac6 /buildAdBlocklist.sh | |
parent | 963ef048db822908030a5c1eea27c12e69a5bb60 (diff) |
builds ipv4 and ipv6 block.list into one file
Diffstat (limited to 'buildAdBlocklist.sh')
-rwxr-xr-x | buildAdBlocklist.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildAdBlocklist.sh b/buildAdBlocklist.sh index 181f485..fa6a536 100755 --- a/buildAdBlocklist.sh +++ b/buildAdBlocklist.sh @@ -7,7 +7,8 @@ awk -F'[\t ]+' '{ host=$1 } if (!match(host, /^(localhost|local|localhost.localdomain|ip6-localnet|ip6-localhost$)$/)) { - print "127.0.0.1 " host + print "127.0.0.1 " host + print "::1 " host } } }' adlists/* | sort > block.list |