Skip to content

Commit

Permalink
Redundant bool check
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Nov 14, 2024
1 parent 3bad745 commit 392245a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chained/quic_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func newQUICImpl(name, addr string, pc *config.ProxyConfig, reportDialCore repor
}

disablePathMTUDiscovery := true
if ptSettingBool(pc, "path_mtu_discovery") == true {
if ptSettingBool(pc, "path_mtu_discovery") {
disablePathMTUDiscovery = false
}

Expand Down

0 comments on commit 392245a

Please sign in to comment.