summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorCopybara-Service <copybara-worker@google.com>2020-02-19 11:40:36 -0800
committerCopybara-Service <copybara-worker@google.com>2020-02-19 11:40:36 -0800
commitdbf37bf8b4e1e6f888f98e81b17f383dfbeca296 (patch)
tree77f3667103e6f19aa9d3672f500a824d7adc3afa /pkg/tcpip/stack
parent90d0851c0e37146158e4f46f6aa1707d786fb48a (diff)
parent92d2d78876a938871327685e1104d7b4ff46986e (diff)
Merge pull request #1896 from kevinGC:parseports
PiperOrigin-RevId: 296017834
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r--pkg/tcpip/stack/registration.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/registration.go b/pkg/tcpip/stack/registration.go
index ec91f60dd..d83adf0ec 100644
--- a/pkg/tcpip/stack/registration.go
+++ b/pkg/tcpip/stack/registration.go
@@ -277,7 +277,7 @@ type NetworkProtocol interface {
// DefaultPrefixLen returns the protocol's default prefix length.
DefaultPrefixLen() int
- // ParsePorts returns the source and destination addresses stored in a
+ // ParseAddresses returns the source and destination addresses stored in a
// packet of this protocol.
ParseAddresses(v buffer.View) (src, dst tcpip.Address)