Github user rafaelweingartner commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1907#discussion_r100897492 --- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py --- @@ -659,7 +663,10 @@ def is_guest_gateway(self, bag, ip): gw = interface.get_gateway() logging.info("Interface has the following gateway ==> %s", gw) - if bag['nw_type'] == "guest" and rip == gw: + guest_gw = self.config.cmdline().get_guest_gw() + logging.info("Interface has the following gateway ==> %s", guest_gw) + + if bag['nw_type'] == "guest" and (rip == gw or rip == guest_gw): --- End diff -- This is more like a curiosity than anything else. What do you think about using only `return bag['nw_type'] == "guest" and (rip == gw or rip == guest_gw)` ? It does not feel that we need the conditional here.
--- 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. ---