Browse Source

route: tweak comment on metric types

Change-Id: I9fb463a5b26e79073a3efc06eea13fd8fcdbf021
Reviewed-on: https://go-review.googlesource.com/50190
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Mikio Hara 8 years ago
parent
commit
ab5485076f
5 changed files with 10 additions and 10 deletions
  1. 2 2
      route/sys_darwin.go
  2. 2 2
      route/sys_dragonfly.go
  3. 2 2
      route/sys_freebsd.go
  4. 2 2
      route/sys_netbsd.go
  5. 2 2
      route/sys_openbsd.go

+ 2 - 2
route/sys_darwin.go

@@ -13,7 +13,7 @@ func (typ RIBType) parseable() bool {
 	}
 	}
 }
 }
 
 
-// A RouteMetrics represents route metrics.
+// RouteMetrics represents route metrics.
 type RouteMetrics struct {
 type RouteMetrics struct {
 	PathMTU int // path maximum transmission unit
 	PathMTU int // path maximum transmission unit
 }
 }
@@ -30,7 +30,7 @@ func (m *RouteMessage) Sys() []Sys {
 	}
 	}
 }
 }
 
 
-// A InterfaceMetrics represents interface metrics.
+// InterfaceMetrics represents interface metrics.
 type InterfaceMetrics struct {
 type InterfaceMetrics struct {
 	Type int // interface type
 	Type int // interface type
 	MTU  int // maximum transmission unit
 	MTU  int // maximum transmission unit

+ 2 - 2
route/sys_dragonfly.go

@@ -8,7 +8,7 @@ import "unsafe"
 
 
 func (typ RIBType) parseable() bool { return true }
 func (typ RIBType) parseable() bool { return true }
 
 
-// A RouteMetrics represents route metrics.
+// RouteMetrics represents route metrics.
 type RouteMetrics struct {
 type RouteMetrics struct {
 	PathMTU int // path maximum transmission unit
 	PathMTU int // path maximum transmission unit
 }
 }
@@ -25,7 +25,7 @@ func (m *RouteMessage) Sys() []Sys {
 	}
 	}
 }
 }
 
 
-// A InterfaceMetrics represents interface metrics.
+// InterfaceMetrics represents interface metrics.
 type InterfaceMetrics struct {
 type InterfaceMetrics struct {
 	Type int // interface type
 	Type int // interface type
 	MTU  int // maximum transmission unit
 	MTU  int // maximum transmission unit

+ 2 - 2
route/sys_freebsd.go

@@ -11,7 +11,7 @@ import (
 
 
 func (typ RIBType) parseable() bool { return true }
 func (typ RIBType) parseable() bool { return true }
 
 
-// A RouteMetrics represents route metrics.
+// RouteMetrics represents route metrics.
 type RouteMetrics struct {
 type RouteMetrics struct {
 	PathMTU int // path maximum transmission unit
 	PathMTU int // path maximum transmission unit
 }
 }
@@ -35,7 +35,7 @@ func (m *RouteMessage) Sys() []Sys {
 	}
 	}
 }
 }
 
 
-// A InterfaceMetrics represents interface metrics.
+// InterfaceMetrics represents interface metrics.
 type InterfaceMetrics struct {
 type InterfaceMetrics struct {
 	Type int // interface type
 	Type int // interface type
 	MTU  int // maximum transmission unit
 	MTU  int // maximum transmission unit

+ 2 - 2
route/sys_netbsd.go

@@ -6,7 +6,7 @@ package route
 
 
 func (typ RIBType) parseable() bool { return true }
 func (typ RIBType) parseable() bool { return true }
 
 
-// A RouteMetrics represents route metrics.
+// RouteMetrics represents route metrics.
 type RouteMetrics struct {
 type RouteMetrics struct {
 	PathMTU int // path maximum transmission unit
 	PathMTU int // path maximum transmission unit
 }
 }
@@ -23,7 +23,7 @@ func (m *RouteMessage) Sys() []Sys {
 	}
 	}
 }
 }
 
 
-// A InterfaceMetrics represents interface metrics.
+// RouteMetrics represents route metrics.
 type InterfaceMetrics struct {
 type InterfaceMetrics struct {
 	Type int // interface type
 	Type int // interface type
 	MTU  int // maximum transmission unit
 	MTU  int // maximum transmission unit

+ 2 - 2
route/sys_openbsd.go

@@ -15,7 +15,7 @@ func (typ RIBType) parseable() bool {
 	}
 	}
 }
 }
 
 
-// A RouteMetrics represents route metrics.
+// RouteMetrics represents route metrics.
 type RouteMetrics struct {
 type RouteMetrics struct {
 	PathMTU int // path maximum transmission unit
 	PathMTU int // path maximum transmission unit
 }
 }
@@ -32,7 +32,7 @@ func (m *RouteMessage) Sys() []Sys {
 	}
 	}
 }
 }
 
 
-// A InterfaceMetrics represents interface metrics.
+// InterfaceMetrics represents interface metrics.
 type InterfaceMetrics struct {
 type InterfaceMetrics struct {
 	Type int // interface type
 	Type int // interface type
 	MTU  int // maximum transmission unit
 	MTU  int // maximum transmission unit