e09562d587
- Drop 32bit support from spec file - Dropped 520d417d-xen-Add-stdbool.h-workaround-for-BSD.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=282
17 lines
556 B
Diff
17 lines
556 B
Diff
Index: xen-4.2.3-testing/tools/qemu-xen-traditional-dir-remote/i386-dm/qemu-ifup-Linux
|
|
===================================================================
|
|
--- xen-4.2.3-testing.orig/tools/qemu-xen-traditional-dir-remote/i386-dm/qemu-ifup-Linux
|
|
+++ xen-4.2.3-testing/tools/qemu-xen-traditional-dir-remote/i386-dm/qemu-ifup-Linux
|
|
@@ -20,4 +20,11 @@ then
|
|
fi
|
|
|
|
ifconfig $1 0.0.0.0 up
|
|
+
|
|
+mtu="`ip link show $bridge | awk '/mtu/ { print $5 }'`"
|
|
+if [ -n "$mtu" ] && [ "$mtu" -gt 0 ]
|
|
+then
|
|
+ ip link set $1 mtu $mtu || :
|
|
+fi
|
|
+
|
|
brctl addif $bridge $1 || true
|