|
|
@ -136,7 +136,11 @@ const AnNetworkConfigInputGroup = < |
|
|
|
({ |
|
|
|
({ |
|
|
|
networkMinIp = '', |
|
|
|
networkMinIp = '', |
|
|
|
networkSubnetMask = '', |
|
|
|
networkSubnetMask = '', |
|
|
|
networkType = 'ifn', |
|
|
|
networkType = networkListEntries.some(([, { networkType: nt }]) => |
|
|
|
|
|
|
|
assertMn(nt), |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
? 'ifn' |
|
|
|
|
|
|
|
: 'mn', |
|
|
|
// Params that depend on others.
|
|
|
|
// Params that depend on others.
|
|
|
|
networkGateway = assertIfn(networkType) ? '' : undefined, |
|
|
|
networkGateway = assertIfn(networkType) ? '' : undefined, |
|
|
|
networkNumber = getNetworkNumber(networkType) + 1, |
|
|
|
networkNumber = getNetworkNumber(networkType) + 1, |
|
|
|