Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer committed Jan 5, 2024
1 parent 5809cc0 commit db9f5d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions client/internal/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,10 @@ func (e *Engine) createPeerConn(pubKey string, allowedIPs string) (*peer.Conn, e
rk := []byte(wgConfig.RemoteKey)
var keyInput []byte
if string(lk) > string(rk) {
//nolint:gocritic
keyInput = append(lk[:16], rk[:16]...)
} else {
//nolint:gocritic
keyInput = append(rk[:16], lk[:16]...)
}

Expand Down
2 changes: 1 addition & 1 deletion iface/wg_configurer_kernel.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !android
//go:build linux && !android

package iface

Expand Down

0 comments on commit db9f5d0

Please sign in to comment.