File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ pkg-static -C /dev/null add https://github.com/jaredhendrickson13/pfsense-api/re
5454> the [ releases page] ( https://github.com/jaredhendrickson13/pfsense-api/releases ) to find the package built for
5555> your version of pfSense.
5656
57-
5857## Disclaimers
5958
6059> [ !CAUTION]
Original file line number Diff line number Diff line change @@ -259,9 +259,9 @@ class DHCPServer extends Model {
259259 $ ifs_using_dhcp_server = array_keys ($ this ->get_config (path: $ this ->config_path , default: []));
260260
261261 # Loop through each defined interface
262- foreach ($ this ->get_config (" interfaces " , []) as $ if_id => $ if ) {
262+ foreach ($ this ->get_config (' interfaces ' , []) as $ if_id => $ if ) {
263263 # Skip this interface if it is not a static interface or the subnet value is greater than or equal to 31
264- if (empty ($ if [" ipaddr " ]) or $ if [" ipaddr " ] === " dhcp " or $ if ->subnet ->value >= 31 ) {
264+ if (empty ($ if [' ipaddr ' ]) or $ if [' ipaddr ' ] === ' dhcp ' or $ if ->subnet ->value >= 31 ) {
265265 continue ;
266266 }
267267
You can’t perform that action at this time.
0 commit comments