diff options
author | Keqian Zhu | 2020-11-23 07:29:54 +0100 |
---|---|---|
committer | Jason Wang | 2020-11-24 03:40:17 +0100 |
commit | 9925990d01a92564af55f6f69d0f5f59b47609b1 (patch) | |
tree | b0d7a180756d1560a4dfa4ff294fd8f573c07a23 /net | |
parent | tap: fix a memory leak (diff) | |
download | qemu-9925990d01a92564af55f6f69d0f5f59b47609b1.tar.gz qemu-9925990d01a92564af55f6f69d0f5f59b47609b1.tar.xz qemu-9925990d01a92564af55f6f69d0f5f59b47609b1.zip |
net: Use correct default-path macro for downscript
Fixes: 63c4db4c2e6d (net: relocate paths to helpers and scripts)
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/tap.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -953,7 +953,8 @@ free_fail: script = default_script = get_relocated_path(DEFAULT_NETWORK_SCRIPT); } if (!downscript) { - downscript = default_downscript = get_relocated_path(DEFAULT_NETWORK_SCRIPT); + downscript = default_downscript = + get_relocated_path(DEFAULT_NETWORK_DOWN_SCRIPT); } if (tap->has_ifname) { |