net: Use correct default-path macro for downscript
PATCH 1/1 net: Use correct default-path macro for downscript
Fixes 63c4db4c2e6d (net: relocate paths to helpers and scripts)
Signed-off-by Keqian Zhu <[email protected]>
--- net/tap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
net/tap.c +2 -1
@@ -951,7 +951,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) {
Signature · 1 line
2.23.0
Jason Wang
AppliedQuoted 11 lines · Keqian Zhu
Fixes 63c4db4c2e6d (net: relocate paths to helpers and scripts)Signed-off-by Keqian Zhu <[email protected]>--- net/tap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)net/tap.c +0
-0
net/tap.c free_fail: · line 958
Quoted 9 lines
net/tap.c +2
-1@@ -951,7 +951,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) {
Applied.
Thanks