(no commit message)
Sapan Bhatia [Wed, 16 Sep 2009 13:44:24 +0000 (13:44 +0000)]
sfatables/TO_CLEANUP [new file with mode: 0644]
sfatables/runtime.py [moved from sfatables/exec.py with 99% similarity]

diff --git a/sfatables/TO_CLEANUP b/sfatables/TO_CLEANUP
new file mode 100644 (file)
index 0000000..1b98c00
--- /dev/null
@@ -0,0 +1,2 @@
+1# Load sfatables rules only once, not on every request.
+2# Set request context based on the context requested by the match/target.
similarity index 99%
rename from sfatables/exec.py
rename to sfatables/runtime.py
index 4afcb48..0dab15d 100644 (file)
@@ -21,6 +21,7 @@ class SFATablesRules:
             self.sorted_rule_list.append(XMLRule(chain_name, rule_number))
         return
 
+
     def apply(self, rspec):
         intermediate_rspec = rspec
         for rule in self.sorted_rule_list: