immortalwrt/package/kernel/fullconenat/patches/000-printk.patch
Tianling Shen e651b80111
fullconenat: bump to latest git HEAD
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-08 11:29:11 +08:00

18 lines
610 B
Diff

--- a/xt_FULLCONENAT.c
+++ b/xt_FULLCONENAT.c
@@ -1336,10 +1336,13 @@ static struct xt_target tg_reg[] __read_
static int __init fullconenat_tg_init(void)
{
+ printk(KERN_INFO "xt_FULLCONENAT: RFC3489 Full Cone NAT module\n"
+ "xt_FULLCONENAT: Copyright (C) 2018 Chion Tang <tech@chionlab.moe>\n");
+
int ret;
wq = create_singlethread_workqueue("xt_FULLCONENAT");
if (wq == NULL) {
- printk("xt_FULLCONENAT: warning: failed to create workqueue\n");
+ printk(KERN_WARNING "xt_FULLCONENAT: warning: failed to create workqueue\n");
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 2, 0)