16 lines
527 B
Diff
16 lines
527 B
Diff
|
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
|