mirror of
https://github.com/nikdoof/rpzhole.git
synced 2025-12-24 15:19:25 +00:00
Fix wrong ordering of response in hosts file
This commit is contained in:
@@ -67,7 +67,7 @@ def addhost ( host ):
|
||||
outputdata += "%s seenbefore in %s %s" % (commentstart,seenbefore[host],commentstart)
|
||||
if host in config['exclusions']:
|
||||
outputdata += "%s excluded %s" % (commentstart,commentstart)
|
||||
outputdata += "%s %s\n" % (host,config['defaultresponse'])
|
||||
outputdata += "%s %s\n" % (config['defaultresponse'],host)
|
||||
seenbefore[host] = source
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user