udp: m unlikely edge case #894
Annotations
21 errors, 12 warnings, and 1 notice
🧭 Lint:
intra/common.go#L107
this value of fm is never used (SA4006)
|
🧭 Lint:
intra/dialers/ips.go#L147
func addrstr is unused (U1000)
|
🧭 Lint:
intra/dialers/ips.go#L151
func tcpaddr is unused (U1000)
|
🧭 Lint:
intra/dialers/ips.go#L157
func udpaddr is unused (U1000)
|
🧭 Lint:
intra/ipn/proxies.go#L86
var errAutoTestBarrierFail is unused (U1000)
|
🧭 Lint:
intra/ipn/proxy.go#L218
func tcpReachesWork is unused (U1000)
|
🧭 Lint:
intra/tcp.go#L124
Printf format %d has arg #5 of wrong type string (SA5009)
|
🧭 Lint:
intra/tunnel.go#L53
var errNoStat is unused (U1000)
|
🧭 Lint
Process completed with exit code 1.
|
🧭 Lint:
intra/bootstrap.go#L179
Error return value of `prev.Stop` is not checked (errcheck)
|
🧭 Lint:
intra/common.go#L107
ineffectual assignment to fm (ineffassign)
|
🧭 Lint:
intra/dialers/direct_split.go#L31
`strat` is a misspelling of `start` (misspell)
|
🧭 Lint:
intra/dialers/ips.go#L147
func `addrstr` is unused (unused)
|
🧭 Lint:
intra/dialers/ips.go#L151
func `tcpaddr` is unused (unused)
|
🧭 Lint:
intra/dialers/ips.go#L157
func `udpaddr` is unused (unused)
|
🧭 Lint:
intra/dialers/retrier.go#L155
`strat` is a misspelling of `start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L156
`Strat` is a misspelling of `Start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L158
`Strat` is a misspelling of `Start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L178
`strat` is a misspelling of `start` (misspell)
|
🧬 Build:
intra/tcp.go#L124
fmt.Errorf format %d has arg uid of wrong type string
|
🧬 Build
Process completed with exit code 1.
|
🧭 Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🧭 Lint:
intra/backend/core_iptree.go#L7
package-comments: should have a package comment (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L21
var-naming: type IpTree should be IPTree (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L77
var-naming: func NewIpTree should be NewIPTree (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L96
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L146
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L231
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L279
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L298
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L339
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L361
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
🧬 Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🧬 Build
success
|