Skip to content

Commit

Permalink
initialise interface to nil on each iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
gergnz committed Jan 29, 2014
1 parent c9f77fb commit efe5e11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ript/dsl/primitives/filter.rb
Expand Up @@ -54,6 +54,7 @@ def build_rule(name, block, opts={})
@tos = []
@ports = []
@protocols = []
@interface = nil
insert = opts[:insert] || "partition-a"
jump = opts[:jump] || "DROP"
log = opts[:log]
Expand Down

0 comments on commit efe5e11

Please sign in to comment.