Skip to content

Commit

Permalink
Merge pull request #405 from isucon/bench-attacker-gen-name
Browse files Browse the repository at this point in the history
0をつける
  • Loading branch information
kazeburo authored Nov 24, 2023
2 parents 57c335d + f88d02c commit 6b97e8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bench/internal/attacker/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func (a *DnsWaterTortureAttacker) Attack(ctx context.Context, httpClient *http.C
for i := 0; i < numOfLabel; i++ {
length := 10 + rand.Intn(maxLength)
randString(buf, length)
buf.WriteByte('0')
buf.WriteByte('.')
}
buf.WriteString(zone)
Expand Down

0 comments on commit 6b97e8f

Please sign in to comment.