Fix lint errors
This commit is contained in:
parent
a9f4123ba2
commit
46aa536b37
41 changed files with 498 additions and 406 deletions
|
|
@ -878,7 +878,7 @@ func (o NDPDNSSearchList) iterDomainNames(fn func(string)) error {
|
|||
}
|
||||
|
||||
// Copy the label and add a trailing period.
|
||||
for i := 0; i < labelLen; i++ {
|
||||
for i := range labelLen {
|
||||
b, err := searchList.ReadByte()
|
||||
if err != nil {
|
||||
if err != io.EOF {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue