Skip to content

Commit ab54850

Browse files
committed
route: tweak comment on metric types
Change-Id: I9fb463a5b26e79073a3efc06eea13fd8fcdbf021 Reviewed-on: https://go-review.googlesource.com/50190 Run-TryBot: Mikio Hara <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 7b7efd8 commit ab54850

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

route/sys_darwin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func (typ RIBType) parseable() bool {
1313
}
1414
}
1515

16-
// A RouteMetrics represents route metrics.
16+
// RouteMetrics represents route metrics.
1717
type RouteMetrics struct {
1818
PathMTU int // path maximum transmission unit
1919
}
@@ -30,7 +30,7 @@ func (m *RouteMessage) Sys() []Sys {
3030
}
3131
}
3232

33-
// A InterfaceMetrics represents interface metrics.
33+
// InterfaceMetrics represents interface metrics.
3434
type InterfaceMetrics struct {
3535
Type int // interface type
3636
MTU int // maximum transmission unit

route/sys_dragonfly.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "unsafe"
88

99
func (typ RIBType) parseable() bool { return true }
1010

11-
// A RouteMetrics represents route metrics.
11+
// RouteMetrics represents route metrics.
1212
type RouteMetrics struct {
1313
PathMTU int // path maximum transmission unit
1414
}
@@ -25,7 +25,7 @@ func (m *RouteMessage) Sys() []Sys {
2525
}
2626
}
2727

28-
// A InterfaceMetrics represents interface metrics.
28+
// InterfaceMetrics represents interface metrics.
2929
type InterfaceMetrics struct {
3030
Type int // interface type
3131
MTU int // maximum transmission unit

route/sys_freebsd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func (typ RIBType) parseable() bool { return true }
1313

14-
// A RouteMetrics represents route metrics.
14+
// RouteMetrics represents route metrics.
1515
type RouteMetrics struct {
1616
PathMTU int // path maximum transmission unit
1717
}
@@ -35,7 +35,7 @@ func (m *RouteMessage) Sys() []Sys {
3535
}
3636
}
3737

38-
// A InterfaceMetrics represents interface metrics.
38+
// InterfaceMetrics represents interface metrics.
3939
type InterfaceMetrics struct {
4040
Type int // interface type
4141
MTU int // maximum transmission unit

route/sys_netbsd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package route
66

77
func (typ RIBType) parseable() bool { return true }
88

9-
// A RouteMetrics represents route metrics.
9+
// RouteMetrics represents route metrics.
1010
type RouteMetrics struct {
1111
PathMTU int // path maximum transmission unit
1212
}
@@ -23,7 +23,7 @@ func (m *RouteMessage) Sys() []Sys {
2323
}
2424
}
2525

26-
// A InterfaceMetrics represents interface metrics.
26+
// RouteMetrics represents route metrics.
2727
type InterfaceMetrics struct {
2828
Type int // interface type
2929
MTU int // maximum transmission unit

route/sys_openbsd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func (typ RIBType) parseable() bool {
1515
}
1616
}
1717

18-
// A RouteMetrics represents route metrics.
18+
// RouteMetrics represents route metrics.
1919
type RouteMetrics struct {
2020
PathMTU int // path maximum transmission unit
2121
}
@@ -32,7 +32,7 @@ func (m *RouteMessage) Sys() []Sys {
3232
}
3333
}
3434

35-
// A InterfaceMetrics represents interface metrics.
35+
// InterfaceMetrics represents interface metrics.
3636
type InterfaceMetrics struct {
3737
Type int // interface type
3838
MTU int // maximum transmission unit

0 commit comments

Comments
 (0)