Compare commits

...

1 Commits

Author SHA1 Message Date
Marek Puzyniak
938409098f map-controller: Add profile option validation
Signed-off-by: Marek Puzyniak <marek.puzyniak@iopsys.eu>
2024-03-06 12:01:14 +00:00

View File

@@ -17,6 +17,7 @@ handle_controller_select() {
validate_controller_section() {
uci_validate_section mapcontroller controller "controller" \
'enabled:bool:true' \
'profile:range(1,3):2' \
'registrar:string' \
'debug:range(0,16)' \
'bcn_metrics_max_num:range(1,256)' \