mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-08-23 01:27:13 +02:00
Fix wrong timeout in lookupIP
The assignment is changed wrongly in process of refactoring parallel dialer for resolving bootstrap IP. While at it, also satisfy staticheck for jffs not enabled error.
This commit is contained in:
@@ -84,7 +84,7 @@ func ConfigureService(sc *service.Config) error {
|
||||
switch name {
|
||||
case DDWrt:
|
||||
if !ddwrtJff2Enabled() {
|
||||
return ddwrtJffs2NotEnabledErr
|
||||
return errDdwrtJffs2NotEnabled
|
||||
}
|
||||
case OpenWrt:
|
||||
sc.Option["SysvScript"] = openWrtScript
|
||||
|
||||
Reference in New Issue
Block a user