ports/emulators/qemu/files/patch-include_net_net.h
Muhammad Moinur Rahman 5698b5b669 emulators/qemu: Update version 4.1.1=>4.2.1
- Add OPTION CAPSTONE [1]

PR:		247870 [1]
Reported by:	amdmi3 [1]
2020-07-18 19:41:59 +00:00

14 lines
596 B
C

--- include/net/net.h.orig 2020-06-25 18:12:17 UTC
+++ include/net/net.h
@@ -208,8 +208,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"