summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-02-18 21:20:41 -0800
committerKevin Krakauer <krakauer@google.com>2020-02-18 21:20:41 -0800
commit92d2d78876a938871327685e1104d7b4ff46986e (patch)
tree074fad6bebb325eb7e6b86ec34003303a0b070ff /pkg/tcpip/stack
parent8dae8a10f01b49d9b28c1ae72b67cb5b83238963 (diff)
Fix mis-named comment.
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)