Skip to content

Commit

Permalink
@wentao[add-net-route]: fix comment end in dot - sansna
Browse files Browse the repository at this point in the history
  • Loading branch information
sansna committed May 22, 2023
1 parent b9ae695 commit 85ac652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/util/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func ParseBool(b string) *bool {
return &truth
}

// Transforms uint32 to IPv4 representation
// Transforms uint32 to IPv4 representation.
func uint32ToIPv4(n uint32) string {
ip := make(net.IP, 4)
binary.LittleEndian.PutUint32(ip, uint32(n))
Expand Down
2 changes: 1 addition & 1 deletion net_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
RouteLineColumns int = 11
)

// A NetRouteLine represents one line from net/route
// A NetRouteLine represents one line from net/route.
type NetRouteLine struct {
Iface string
Destination uint32
Expand Down

0 comments on commit 85ac652

Please sign in to comment.