Commit 31a02a4d authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

stop using deprecated ip-range attribute internally

parent dc135319
......@@ -111,7 +111,7 @@ function Filter:trules()
self:error(self.dnat..' does not resolve to any IPv4 address')
end
extrarules('dnat', {['ip-range']=dnataddr, out=nil})
extrarules('dnat', {['to-addr']=dnataddr, out=nil})
end
if self.action == 'tarpit' or self['no-track'] then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment