[lxc-devel] [lxd/master] network: Fix IPv6 forwarding
stgraber on Github
lxc-bot at linuxcontainers.org
Fri Sep 30 23:38:50 UTC 2016
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 426 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160930/154bddac/attachment.bin>
-------------- next part --------------
From 2fbe70a53997dbbba1110052b3804800cc0b61e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Fri, 30 Sep 2016 19:37:55 -0400
Subject: [PATCH] network: Fix IPv6 forwarding
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
default and all must also be set to 1 if we want forwarding to work.
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
lxd/networks.go | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lxd/networks.go b/lxd/networks.go
index 66e7551..e8c70d9 100644
--- a/lxd/networks.go
+++ b/lxd/networks.go
@@ -834,10 +834,6 @@ func (n *network) Start() error {
}
for _, entry := range entries {
- if entry.Name() == "all" || entry.Name() == "default" {
- continue
- }
-
err := networkSysctl(fmt.Sprintf("ipv6/conf/%s/accept_ra", entry.Name()), "2")
if err != nil && err != os.ErrNotExist {
return err
More information about the lxc-devel
mailing list