[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 5/5] net: Use correct default-path macro for downscript
From: |
Jason Wang |
Subject: |
[PULL 5/5] net: Use correct default-path macro for downscript |
Date: |
Tue, 24 Nov 2020 10:44:23 +0800 |
From: Keqian Zhu <zhukeqian1@huawei.com>
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>
---
net/tap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/tap.c b/net/tap.c
index fe95fa7..b751285 100644
--- a/net/tap.c
+++ b/net/tap.c
@@ -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) {
--
2.7.4
- [PULL 0/5] Net patches, Jason Wang, 2020/11/23
- [PULL 1/5] hw/net/e1000e: advance desc_offset in case of null descriptor, Jason Wang, 2020/11/23
- [PULL 2/5] net: do not exit on "netdev_add help" monitor command, Jason Wang, 2020/11/23
- [PULL 3/5] net: purge queued rx packets on queue deletion, Jason Wang, 2020/11/23
- [PULL 4/5] tap: fix a memory leak, Jason Wang, 2020/11/23
- [PULL 5/5] net: Use correct default-path macro for downscript,
Jason Wang <=
- Re: [PULL 0/5] Net patches, Peter Maydell, 2020/11/24