Merge pull request #3189 from Security-Onion-Solutions/bugfix/mtu-input

Add max to MTU input validation to encompass default + jumbo frames
This commit is contained in:
Mike Reeves authored and GitHub committed 2021-03-01 09:26:54 -05:00
commit 55b6efba7b
1 file changed
+1 -1
+1 -1
View File
@@ -446,7 +446,7 @@ collect_mngr_hostname() {
collect_mtu() {
whiptail_bond_nics_mtu "1500"
while ! valid_int "$MTU" "68"; do
while ! valid_int "$MTU" "68" "10000"; do
whiptail_invalid_input
whiptail_bond_nics_mtu "$MTU"
done