Repository: cloudstack Updated Branches: refs/heads/4.7 7a0b37a29 -> 9a20ab8bc
Remove duplicate spaces, and thus duplicate rules. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/69e93489 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/69e93489 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/69e93489 Branch: refs/heads/4.7 Commit: 69e9348900e6337a16788a54283d5c9ee3b7a221 Parents: b857f79 Author: Boris Schrijver <[email protected]> Authored: Wed Feb 3 15:30:19 2016 +0100 Committer: Boris Schrijver <[email protected]> Committed: Fri Feb 5 12:02:57 2016 +0100 ---------------------------------------------------------------------- systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/69e93489/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py ---------------------------------------------------------------------- diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py index 47eb50b..71127bd 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py @@ -172,6 +172,7 @@ class CsNetfilters(object): def apply_rules(self): s = [] for r in self.iptablerules: + r.replace(' ', ' ') # Remove duplicate spaces if r not in s: s.append(r)
