diff options
author | Dario Maiocchi <dmaiocchi@suse.com> | 2017-11-10 19:07:52 +0100 |
---|---|---|
committer | Dario Maiocchi <dmaiocchi@suse.com> | 2017-11-16 11:26:28 +0100 |
commit | 965ea1ccfdd98a4811af0f652c4b6e9c79052e90 (patch) | |
tree | f874768d7c7ca036721b9e5861cf573911c5c672 /libvirt/utils_net.go | |
parent | b79acdd0924791aa424e37497128619a0f481f05 (diff) | |
download | terraform-provider-libvirt-965ea1ccfdd98a4811af0f652c4b6e9c79052e90.tar terraform-provider-libvirt-965ea1ccfdd98a4811af0f652c4b6e9c79052e90.tar.gz |
comment on exported function should Start with
name of the function
Diffstat (limited to 'libvirt/utils_net.go')
-rw-r--r-- | libvirt/utils_net.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt/utils_net.go b/libvirt/utils_net.go index efb0d725..8cadcc9a 100644 --- a/libvirt/utils_net.go +++ b/libvirt/utils_net.go @@ -55,7 +55,7 @@ func FreeNetworkInterface(basename string) (string, error) { return "", fmt.Errorf("could not obtain a free network interface") } -// Calculates the first and last IP addresses in an IPNet +// NetworkRange Calculates the first and last IP addresses in an IPNet func NetworkRange(network *net.IPNet) (net.IP, net.IP) { netIP := network.IP.To4() lastIP := net.IPv4(0, 0, 0, 0).To4() |