Github user ustcweizhou commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1519#discussion_r61681472
  
    --- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---
    @@ -289,51 +290,62 @@ def post_configure(self, address):
             route = CsRoute()
             if not self.get_type() in ["control"]:
                 route.add_table(self.dev)
    -            
                 CsRule(self.dev).addMark()
    +
                 self.check_is_up()
    -            self.set_mark()
    +
    +            if self.dnum != '0':
    --- End diff --
    
    self.dnum is hex, so this line always return true.
    you can use ( self.dev != 'eth0') instead, or other 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to