Commit f15cf3c
committed
[openwrt] Fix firewall defaults parser
The defaults section can be empty, so when parsing UCI to netjson
it is necessary to remove the defaults section if it is empty.1 parent bc7dc88 commit f15cf3c
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| |||
0 commit comments