ports/emulators/qemu/files/patch-include_net_net.h
Muhammad Moinur Rahman a9b56381c0 emulators/qemu: Updating version 3.1.1.1=>4.1.1
- 3.1.X branch has been moved to emulators/qemu31

Relnotes:	https://wiki.qemu.org/ChangeLog/4.1
2019-11-25 11:01:43 +00:00

13 lines
596 B
C

--- include/net/net.h.orig 2019-04-23 18:14:46 UTC
+++ include/net/net.h
@@ -209,8 +209,8 @@ void qmp_netdev_add(QDict *qdict, QObject **ret, Error
int net_hub_id_for_client(NetClientState *nc, int *id);
NetClientState *net_hub_port_find(int hub_id);
-#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
+#define DEFAULT_NETWORK_SCRIPT PREFIX "/etc/qemu-ifup"
+#define DEFAULT_NETWORK_DOWN_SCRIPT PREFIX "/etc/qemu-ifdown"
#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
#define DEFAULT_BRIDGE_INTERFACE "br0"