https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238658
Bug ID: 238658
Summary: netpfil: ipfw: remove unnecessary pointer printing in
ip_dummy_net.c
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 205176
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205176&action=edit
The patch file
Remove the unnecessary printf in ip_dn_init to avoid printing out
the address of kernel pointer.
sys/netpfil/ipfw/ip_dummynet.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/netpfil/ipfw/ip_dummynet.c b/sys/netpfil/ipfw/ip_dummynet.c
index 3fe5f7f2f82..ab2c0cdfcd0 100644
--- a/sys/netpfil/ipfw/ip_dummynet.c
+++ b/sys/netpfil/ipfw/ip_dummynet.c
@@ -2511,7 +2511,6 @@ ip_dn_init(void)
{
if (dn_cfg.init_done)
return;
- printf("DUMMYNET %p with IPv6 initialized (100409)\n", curvnet);
dn_cfg.init_done = 1;
/* Set defaults here. MSVC does not accept initializers,
* and this is also useful for vimages
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"