Skip to content

Commit 32ddb6e

Browse files
committed
VPC: fix private mtu of vpc tier
1 parent 2075918 commit 32ddb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/network/NetworkServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1902,7 +1902,7 @@ protected void mtuCheckForVpcNetwork(Long vpcId, Pair<Integer, Integer> interfac
19021902
}
19031903
s_logger.warn(String.format("VPC public MTU already set at VPC creation phase to: %s. Ignoring public MTU " +
19041904
"passed during VPC network tier creation ", vpc.getPublicMtu()));
1905-
interfaceMTUs.set(vpc.getPublicMtu(), privateMtu);
1905+
interfaceMTUs.set(vpc.getPublicMtu(), interfaceMTUs.second());
19061906
}
19071907
}
19081908

0 commit comments

Comments
 (0)