Skip to content

Commit

Permalink
add fast break
Browse files Browse the repository at this point in the history
  • Loading branch information
cybwan committed Nov 10, 2023
1 parent 2efd1b9 commit 875a5cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions loxinet/layer3.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ func IfaMkString(ifa *Ifa, v4 bool) string {
}
plen, _ := ifaEnt.IfaNet.Mask.Size()
str = fmt.Sprintf("%s/%d (%s) ", ifaEnt.IfaAddr.String(), plen, flagStr)
break
}

return str
Expand Down

0 comments on commit 875a5cf

Please sign in to comment.