Skip to content

Commit 9f2b51c

Browse files
Fixed allowed_interfaces select input on API settings to correctly showed configured interfaces
1 parent 743cb4f commit 9f2b51c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pfSense-pkg-API/files/usr/local/www/api

pfSense-pkg-API/files/usr/local/www/api/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
$general_section->addInput(new Form_Select(
177177
'allowed_interfaces',
178178
'Network Interfaces',
179-
$pkg_config["allowed_interfaces"],
179+
explode(",", $pkg_config["allowed_interfaces"]),
180180
array_merge(["any" => "Any", "localhost" => "Link-local"], get_configured_interface_with_descr(true)),
181181
true
182182
))->setHelp(

0 commit comments

Comments
 (0)