Commit d14e54f
committed
refactor!: require explicit creation of DHCPServer objects
Previously, anytime a DHCPServer object was constructed it would automatically initialize empty configurations for eligible interfaces. This caused some issues with some backend DHCPServer functions built into pfSense 2.8.0+. Now DHCPServers that don't already exist in the config must be created via POST request first. This will result in more consistent behavior.1 parent d6a6d50 commit d14e54f
2 files changed
Lines changed: 1 addition & 25 deletions
File tree
- pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI
- Endpoints
- Models
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 0 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | 248 | | |
252 | 249 | | |
253 | 250 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | 251 | | |
276 | 252 | | |
277 | 253 | | |
| |||
0 commit comments