commit | a2c2c874396f50301d48efa6e456573a53bea98c | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.mikioh@gmail.com> | Wed Sep 07 14:01:12 2011 -0400 |
committer | Russ Cox <rsc@golang.org> | Wed Sep 07 14:01:12 2011 -0400 |
tree | 2f4476ef5aea8e6acfe6499ac06611c6cda6615d | |
parent | 4ba677c6ea5203960476a0dfc73f7ffa3442cd7d [diff] |
net: ParseCIDR returns IPNet instead of IPMask Note that this CL will break your existing code which uses ParseCIDR. This CL changes ParseCIDR("172.16.253.121/28") to return the IP address "172.16.253.121", the network implied by the network number "172.16.253.112" and mask "255.255.255.240". R=rsc, borman CC=golang-dev https://golang.org/cl/4749043