mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Add max to MTU input validation to encompass default + jumbo frames
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user