Fix wrong ordering of response in hosts file

This commit is contained in:
Glen Pit-Pladdy
2017-04-11 12:20:10 +01:00
parent 495f7a8e4c
commit 1b24089ad3

View File

@@ -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