Commit acb661e8 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

corrected an error in raising an error (NAT rule interfaces)

parent 4ea6839a
......@@ -28,7 +28,7 @@ function NATRule:defaultzones() return {nil} end
function NATRule:checkzoneoptfrag(ofrag)
if ofrag[self.params.forbidif] then
error('Cannot specify '..self.params.forbidif..'bound interface for '..target..' rule')
error('Cannot specify '..self.params.forbidif..'bound interface for '..self.params.target..' rule')
end
end
......
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