You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/03/29 10:12:27 UTC

[GitHub] [cloudstack] DaanHoogland commented on a change in pull request #3186: Add possibility to set KVM MTU size for NIC

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:
users@infra.apache.org


With regards,
Apache Git Services