LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File vif-route.patch of Package xen (Project home:charlesa:Factory)

References: bsc#985503

Index: xen-4.7.0-testing/tools/hotplug/Linux/vif-route
===================================================================
--- xen-4.7.0-testing.orig/tools/hotplug/Linux/vif-route
+++ xen-4.7.0-testing/tools/hotplug/Linux/vif-route
@@ -35,7 +35,7 @@ case "${command}" in
         ;;
 esac
 
-if [ "${ip}" ] ; then
+if [ "${ip}" ] && [ "${ipcmd}" ] ; then
     # If we've been given a list of IP addresses, then add routes from dom0 to
     # the guest using those addresses.
     for addr in ${ip} ; do