wido commented on a change in pull request #3500: kvm/bridge: Allow Link Local 
Cidr (cloud0 interface) to be configured
URL: https://github.com/apache/cloudstack/pull/3500#discussion_r305921492
 
 

 ##########
 File path: utils/src/main/java/com/cloud/utils/net/NetUtils.java
 ##########
 @@ -962,26 +962,29 @@ public static String getLinkLocalNetMask() {
     }
 
     public static String getLinkLocalGateway() {
-        return "169.254.0.1";
+        return getLinkLocalFirstAddressFromCIDR(getLinkLocalCIDR());
     }
 
     public static String getLinkLocalCIDR() {
         return "169.254.0.0/16";
 
 Review comment:
   Do we have access to the configuration here? I don't think so. Therefor I 
changed it this way.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to