The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7234
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
From b98aa48a60ab6d834f89f306a828767962f26145 Mon Sep 17 00:00:00 2001 From: Thomas Parrott <thomas.parr...@canonical.com> Date: Tue, 21 Apr 2020 08:41:12 +0100 Subject: [PATCH] lxd/net/util: Updates comment on NetworkInterfaceAddress behaviour change Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com> --- lxd/util/net.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lxd/util/net.go b/lxd/util/net.go index ebf0c1af2b..8dbbce4e8f 100644 --- a/lxd/util/net.go +++ b/lxd/util/net.go @@ -105,9 +105,7 @@ func ServerTLSConfig(cert *shared.CertInfo) *tls.Config { return config } -// NetworkInterfaceAddress returns the first non-loopback address of any of the -// system network interfaces. -// +// NetworkInterfaceAddress returns the first global unicast address of any of the system network interfaces. // Return the empty string if none is found. func NetworkInterfaceAddress() string { ifaces, err := net.Interfaces()
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel