summaryrefslogtreecommitdiffstats
path: root/include/net/net.h
diff options
context:
space:
mode:
authorPaolo Bonzini2020-08-18 11:56:16 +0200
committerPaolo Bonzini2020-09-30 19:11:36 +0200
commit63c4db4c2e6d221cecb5aafa365934bb05724cb4 (patch)
tree070aeb7efe0ec550a8c6d85ae156949952b477aa /include/net/net.h
parentmodule: relocate path to modules (diff)
downloadqemu-63c4db4c2e6d221cecb5aafa365934bb05724cb4.tar.gz
qemu-63c4db4c2e6d221cecb5aafa365934bb05724cb4.tar.xz
qemu-63c4db4c2e6d221cecb5aafa365934bb05724cb4.zip
net: relocate paths to helpers and scripts
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/net/net.h')
-rw-r--r--include/net/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/net.h b/include/net/net.h
index e7ef42d62b..897b2d7595 100644
--- a/include/net/net.h
+++ b/include/net/net.h
@@ -209,8 +209,8 @@ void netdev_add(QemuOpts *opts, Error **errp);
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 CONFIG_SYSCONFDIR "/qemu-ifup"
+#define DEFAULT_NETWORK_DOWN_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifdown"
#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
#define DEFAULT_BRIDGE_INTERFACE "br0"