代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/ebtables 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From c8fdd609e905bb2c472758ef6e324cbb43958b9d Mon Sep 17 00:00:00 2001
From: sunsuwan <sunsuwan3@huawei.com>
Date: Tue, 14 Jun 2022 09:45:56 +0800
Subject: [PATCH] fix ebt_print_error for prints null
---
ebtablesd.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ebtablesd.c b/ebtablesd.c
index 02d51fa..930fc66 100644
--- a/ebtablesd.c
+++ b/ebtablesd.c
@@ -194,7 +194,7 @@ continue_read:
}
if (!(replace[i].flags & OPT_KERNELDATA)) {
ebt_print_error("ebtablesd: table %s has not "
- "been opened");
+ "been opened", argv[2]);
goto write_msg;
}
ebt_cleanup_replace(&replace[i]);
@@ -219,7 +219,7 @@ continue_read:
if (replace[i].flags & OPT_KERNELDATA) {
ebt_print_error("ebtablesd: table %s needs to "
"be freed before it can be "
- "opened");
+ "opened", argv[2]);
goto write_msg;
}
if (!ebt_get_kernel_table(&replace[i], 0)) {
@@ -248,7 +248,7 @@ continue_read:
if (replace[i].flags & OPT_KERNELDATA) {
ebt_print_error("ebtablesd: table %s needs to "
"be freed before it can be "
- "opened");
+ "opened", argv[2]);
goto write_msg;
}
tmp.filename = (char *)malloc(strlen(argv[3]) + 1);
@@ -296,7 +296,7 @@ continue_read:
}
if (!(replace[i].flags & OPT_KERNELDATA)) {
ebt_print_error("ebtablesd: table %s has not "
- "been opened");
+ "been opened", argv[2]);
goto write_msg;
}
/* The counters from the kernel are useless if we
@@ -324,7 +324,7 @@ continue_read:
}
if (!(replace[i].flags & OPT_KERNELDATA)) {
ebt_print_error("ebtablesd: table %s has not "
- "been opened");
+ "been opened", argv[2]);
goto write_msg;
}
replace[i].filename = (char *)malloc(strlen(argv[3]) + 1);
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。