File vif-route.patch of Package xen.17316
References: bsc#985503
Index: xen-4.10.0-testing/tools/hotplug/Linux/vif-route
===================================================================
--- xen-4.10.0-testing.orig/tools/hotplug/Linux/vif-route
+++ xen-4.10.0-testing/tools/hotplug/Linux/vif-route
@@ -45,7 +45,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