aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-18 11:56:16 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-30 19:11:36 +0200
commit63c4db4c2e6d221cecb5aafa365934bb05724cb4 (patch)
tree070aeb7efe0ec550a8c6d85ae156949952b477aa /include/net
parent1b934064817e3bc7c7e6b4a4af57b9ab685093e2 (diff)
downloadqemu-63c4db4c2e6d221cecb5aafa365934bb05724cb4.zip
qemu-63c4db4c2e6d221cecb5aafa365934bb05724cb4.tar.gz
qemu-63c4db4c2e6d221cecb5aafa365934bb05724cb4.tar.bz2
net: relocate paths to helpers and scripts
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/net')
-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 e7ef42d..897b2d7 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"