Skip to content

Commit

Permalink
We already Bind properly to 0.0.0.0 on service restart, but not when …
Browse files Browse the repository at this point in the history
…the user changes it in the UI
  • Loading branch information
TuxPaper committed Sep 13, 2023
1 parent 16491d9 commit 4c8e1c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ public void corePrefRemAccessChanged(CoreRemoteAccessPreferences raPrefs) {
}

COConfigurationManager.setParameter(CoreParamKeys.SPARAM_XMWEBUI_BIND_IP,
raPrefs.allowLANAccess ? "" : "127.0.0.1");
raPrefs.allowLANAccess ? "0.0.0.0" : "127.0.0.1");
COConfigurationManager.setParameter(
CoreParamKeys.SPARAM_XMWEBUI_PW_DISABLED_WHITELIST,
raPrefs.allowLANAccess ? DEFAULT_WEBUI_PW_LAN_ONLY
Expand Down

0 comments on commit 4c8e1c6

Please sign in to comment.