If IPv6 link-local address is removed from interface, it is unable to
receive any IPv6 packets, including Route Advertisements.

In save_interface only skip IPv4 "scope link" addresses.

Signed-off-by: Alexey I. Froloff <ra...@raorn.name>
---
 utilities/ovs-save | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/utilities/ovs-save b/utilities/ovs-save
index 4478a3a..7c6390d 100755
--- a/utilities/ovs-save
+++ b/utilities/ovs-save
@@ -100,9 +100,10 @@ save_interfaces () {
                         continue 2
                         ;;
                     scope)
-                        if test "$2" = link; then
+                        if test "$2" = link -a "$family" != inet6; then
                             # Omit route derived from IP address, e.g.
-                            # 172.16.0.0/16 derived from 172.16.12.34.
+                            # 172.16.0.0/16 derived from 172.16.12.34,
+                            # but preserve IPv6 link-local address.
                             continue 2
                         fi
                         ;;
-- 
2.1.0

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to