diff options
author | Paolo Bonzini | 2020-08-18 11:56:16 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-09-30 19:11:36 +0200 |
commit | 63c4db4c2e6d221cecb5aafa365934bb05724cb4 (patch) | |
tree | 070aeb7efe0ec550a8c6d85ae156949952b477aa /include/net/net.h | |
parent | module: relocate path to modules (diff) | |
download | qemu-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.h | 4 |
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" |