appease linter
This commit is contained in:
parent
fdf53cba81
commit
c0ffcd27e8
1 changed files with 2 additions and 2 deletions
|
@ -1415,12 +1415,12 @@ func buildH2CListener(t, s interface{}) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
addrV4 := []string{""}
|
addrV4 := []string{""}
|
||||||
|
co := commonListenOptions(&tc, hostname)
|
||||||
|
|
||||||
if len(tc.Cfg.BindAddressIpv4) > 0 {
|
if len(tc.Cfg.BindAddressIpv4) > 0 {
|
||||||
addrV4 = tc.Cfg.BindAddressIpv4
|
addrV4 = tc.Cfg.BindAddressIpv4
|
||||||
}
|
}
|
||||||
|
|
||||||
co := commonListenOptions(&tc, hostname)
|
|
||||||
|
|
||||||
out = append(out, h2cListener(addrV4, co, &tc)...)
|
out = append(out, h2cListener(addrV4, co, &tc)...)
|
||||||
|
|
||||||
if !tc.IsIPV6Enabled {
|
if !tc.IsIPV6Enabled {
|
||||||
|
|
Loading…
Reference in a new issue