Make VpnProfile.maxMtu default value match Ikev2VpnProfile
This change corrects the VpnProfile's maxMtu defaults to match that of the Ikev2VpnProfile. 1400 is too high as a default, and Settings will run into an issue here quite often. Bug: 152573931 Test: FrameworksNetTests passing Change-Id: I97ba5903b3cc1ed6a21c706ed3d78bd8ecbeee0c Merged-In: I97ba5903b3cc1ed6a21c706ed3d78bd8ecbeee0c (cherry picked from commit d0a44f49df01a1aefa505ee90c9806dee135b4e4)
This commit is contained in:
@@ -65,7 +65,7 @@ public class VpnProfileTest {
|
|||||||
assertTrue(p.getAllowedAlgorithms() != null && p.getAllowedAlgorithms().isEmpty());
|
assertTrue(p.getAllowedAlgorithms() != null && p.getAllowedAlgorithms().isEmpty());
|
||||||
assertFalse(p.isBypassable);
|
assertFalse(p.isBypassable);
|
||||||
assertFalse(p.isMetered);
|
assertFalse(p.isMetered);
|
||||||
assertEquals(1400, p.maxMtu);
|
assertEquals(1360, p.maxMtu);
|
||||||
assertFalse(p.areAuthParamsInline);
|
assertFalse(p.areAuthParamsInline);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user