mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
map-agent: add missing option validation
This commit is contained in:
parent
de51136608
commit
b1750ac6ba
1 changed files with 4 additions and 2 deletions
|
|
@ -80,7 +80,8 @@ validate_agent_section() {
|
|||
'vlan_segregation:bool:false' \
|
||||
'resend_num:uinteger:0' \
|
||||
'dyn_cntlr_sync:bool:true' \
|
||||
'island_prevention:bool:true'
|
||||
'island_prevention:bool:false' \
|
||||
'eth_onboards_wifi_bhs:bool:false'
|
||||
|
||||
|
||||
[ "$?" -ne 0 ] && {
|
||||
|
|
@ -148,7 +149,8 @@ validate_radio_section() {
|
|||
'include_sta_stats:bool:false' \
|
||||
'include_sta_metric:bool:false' \
|
||||
'rcpi_hysteresis_margin:range(0,255)' \
|
||||
'report_util_threshold:range(0,255)'
|
||||
'report_util_threshold:range(0,255)' \
|
||||
'encryption:or("sae", "psk2", "sae-mixed")'
|
||||
|
||||
[ "$?" -ne 0 ] && {
|
||||
logger -s -t "mapagent" "Validation of radio section failed"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue