DaanHoogland commented on a change in pull request #3186: Add possibility to 
set KVM MTU size for NIC
URL: https://github.com/apache/cloudstack/pull/3186#discussion_r270343299
 
 

 ##########
 File path: 
api/src/main/java/org/apache/cloudstack/api/command/user/vm/AddNicToVMCmd.java
 ##########
 @@ -90,6 +93,14 @@ public String getIpAddress() {
         return ipaddr;
     }
 
+    public int getMtu() {
+        if (mtu != 0) {
+            return mtu;
+        } else {
 
 Review comment:
   if !0 else 0??? I do not see reason to this if statement

----------------------------------------------------------------
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