aboutsummaryrefslogtreecommitdiff
path: root/net/tap.c
diff options
context:
space:
mode:
authorKeqian Zhu <zhukeqian1@huawei.com>2020-11-23 14:29:54 +0800
committerJason Wang <jasowang@redhat.com>2020-11-24 10:40:17 +0800
commit9925990d01a92564af55f6f69d0f5f59b47609b1 (patch)
treeb0d7a180756d1560a4dfa4ff294fd8f573c07a23 /net/tap.c
parentf012bec8909820390936f1cf68b3e73a2d4ac966 (diff)
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/tap.c')
-rw-r--r--net/tap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tap.c b/net/tap.c
index fe95fa7073..b7512853f4 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) {