Date: Mon, 17 Jun 2019 11:28:21 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238658] netpfil: ipfw: remove unnecessary pointer printing in ip_dummy_net.c Message-ID: <bug-238658-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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: bugs@FreeBSD.org Reporter: huangfq.daxian@gmail.com 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238658-227>
