]> Cypherpunks repositories - gostls13.git/commit
net: add ParseMAC function
authorPaul Borman <borman@google.com>
Wed, 24 Aug 2011 02:38:43 +0000 (22:38 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 24 Aug 2011 02:38:43 +0000 (22:38 -0400)
commitaf18e4b9b083d67655cfa5679b1ad966e37f1afd
treeed91d38954c94b6a00376440ea5e08d8560847b9
parent39194de8ca8abd0380dfef7a8fd25271561c705f
net: add ParseMAC function

ParseMAC parses a string representing MAC-48, EUI-48, or EUI-64 into
a HardwareAddr.

R=rsc, fshahriar
CC=golang-dev
https://golang.org/cl/4922048
src/pkg/net/interface.go
src/pkg/net/interface_test.go