-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UDPBroadcastrelay UI fix for 24.7 #4107
base: master
Are you sure you want to change the base?
Conversation
UI interface worked fine pre 24.7 but something has broken it. Changes applied fix the issue
Update udpbroadcastrealy controller interface
@@ -44,10 +43,6 @@ class ServiceController extends ApiMutableModelControllerBase | |||
|
|||
public function statusAction($uuid) | |||
{ | |||
$result = array("result" => "failed", "function" => "status"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to keep this line
@@ -126,10 +121,6 @@ public function restartAction($uuid) | |||
*/ | |||
public function configAction() | |||
{ | |||
$result = array("result" => "failed", "function" => "config"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep this line
@@ -31,7 +31,6 @@ | |||
use OPNsense\Base\ApiMutableModelControllerBase; | |||
use OPNsense\UDPBroadcastRelay\UDPBroadcastRelay; | |||
use OPNsense\Core\Backend; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you can bring back this spacer line also ;)
The UI was causing errors when running under 24.7, this issue was not present in 24.1 and earlier versions. Not sure what's causing it but removing the following:
fixes the issue.