diff options
| author | Mikio Hara <mikioh.mikioh@gmail.com> | 2011-12-21 21:39:00 +0900 |
|---|---|---|
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2011-12-21 21:39:00 +0900 |
| commit | 836105679e1da85208e3a7a4e2f0a1f375d0a257 (patch) | |
| tree | 5245168b775a696cc8b4abc088383e96addfad59 /src/run.bash | |
| parent | 343543894875f943e970f5acfe994849f70ddc36 (diff) | |
| download | go-836105679e1da85208e3a7a4e2f0a1f375d0a257.tar.xz | |
net, syscall: interface address and mask
This CL makes both InterfaceAddrs and Addrs method on Interface
return IPNet struct for representing interface address and mask
like below:
interface "lo0": flags "up|loopback|multicast", ifindex 1, mtu 16384
interface address "fe80::1/64"
interface address "127.0.0.1/8"
interface address "::1/128"
joined group address "ff02::fb"
joined group address "224.0.0.251"
joined group address "ff02::2:65d0:d71e"
joined group address "224.0.0.1"
joined group address "ff01::1"
joined group address "ff02::1"
joined group address "ff02::1:ff00:1"
Fixes #2571.
R=rsc
CC=golang-dev
https://golang.org/cl/5489062
Diffstat (limited to 'src/run.bash')
0 files changed, 0 insertions, 0 deletions
