Commit f7e12e85 authored by Simon Redman's avatar Simon Redman

Use proper variable for defining dport

parent 04e946cf
...@@ -53,7 +53,7 @@ class Match: ...@@ -53,7 +53,7 @@ class Match:
dport = match.match_fields['dport'] dport = match.match_fields['dport']
if dport is not None: if dport is not None:
# Have to convert to range, even for only one value, because that is how nlsdn works # Have to convert to range, even for only one value, because that is how nlsdn works
dport_range = [sport, sport] dport_range = [dport, dport]
return RuleMatch( return RuleMatch(
priority=match.match_fields['priority'], priority=match.match_fields['priority'],
......
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