From 7ac5555a848d0ad0bf3aa686646b8aa4f4141f9d Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Thu, 18 May 2023 21:11:20 +0700 Subject: [PATCH] internal/router: fix wrong platform check in PreStart The NTP workaround is intended to be run on Merlin only. --- internal/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/router/router.go b/internal/router/router.go index c8beac7..05d7f24 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -95,7 +95,7 @@ func ConfigureService(sc *service.Config) error { // PreStart blocks until the router is ready for running ctrld. func PreStart() (err error) { - if Name() != DDWrt { + if Name() != Merlin { return nil }