tunnel: Geneve TLV handling support for OpenFlow.
[cascardo/ovs.git] / utilities / ovs-save
index 73895f3..7c6390d 100755 (executable)
@@ -26,7 +26,7 @@ Commands:
                         network interfaces, as well as the system iptables
                         configuration.
  save-flows             Outputs a shell script on stdout that will restore
-                        Openflow flows of each Open vSwitch bridge.
+                        OpenFlow flows of each Open vSwitch bridge.
  save-ofports           Outputs a shell script on stdout that will restore
                         the ofport value across a force-reload-kmod.
 This script is meant as a helper for the Open vSwitch init script commands.
@@ -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
                         ;;