This replaces the use of uci_validate_section() with uci_load_validate(), which removes the need to declare local variables for every config option. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>