mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
pf: fix log message
Use __func__ so we log the correct function name. Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
9925aee0aa
commit
460f0aaf7b
|
@ -7038,7 +7038,7 @@ pf_test_eth(int dir, int pflags, struct ifnet *ifp, struct mbuf **m0,
|
|||
|
||||
if (kif == NULL) {
|
||||
DPFPRINTF(PF_DEBUG_URGENT,
|
||||
("pf_test: kif == NULL, if_xname %s\n", ifp->if_xname));
|
||||
("%s: kif == NULL, if_xname %s\n", __func__, ifp->if_xname));
|
||||
return (PF_DROP);
|
||||
}
|
||||
if (kif->pfik_flags & PFI_IFLAG_SKIP)
|
||||
|
|
Loading…
Reference in a new issue