diff --git a/installer/src/tplink.rs b/installer/src/tplink.rs index b0b85d8..17dda42 100644 --- a/installer/src/tplink.rs +++ b/installer/src/tplink.rs @@ -295,7 +295,7 @@ async fn handler(state: State, mut req: Request) -> Result new Promise(resolve => setTimeout(resolve, ms)); var rayhunterPoll = window.setInterval(async () => { - Globals.models.PTModel.add({applicationName: "rayhunter-daemon", enableState: 1, entryId: 1, openPort: "2400-2500", openProtocol: "TCP", triggerPort: "$(/etc/init.d/rayhunter_daemon start)", triggerProtocol: "TCP"}); + Globals.models.PTModel.add({applicationName: "rayhunter-daemon", enableState: 1, entryId: 1, openPort: "2401", openProtocol: "TCP", triggerPort: "$(/etc/init.d/rayhunter_daemon start)", triggerProtocol: "TCP"}); console.log("rayhunter: first request succeeded, stopping rayhunter poll loop"); window.clearInterval(rayhunterPoll); @@ -308,7 +308,7 @@ async fn handler(state: State, mut req: Request) -> Result