cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ustcweizhou <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Cloudstack 9339: Virtual Routers don't ha...
Date Sun, 01 May 2016 06:28:15 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message