]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netgraph: macfilter: small fixes
authorkevans <kevans@FreeBSD.org>
Wed, 9 Dec 2020 15:28:56 +0000 (15:28 +0000)
committerkevans <kevans@FreeBSD.org>
Wed, 9 Dec 2020 15:28:56 +0000 (15:28 +0000)
commit719f21ef450a81b803edd34561e18bf62087b5a6
treea5a81d818596edb61d2b2c5195aa3d07404edff6
parentfb0c5761722fa89e4fb1721b608fc125e5b50093
netgraph: macfilter: small fixes

Two issues:
- The DEBUG macro defined is in direct conflict with the DEBUG kernel
  option, which broke the -LINT build[0]
- Building with NG_MACFILTER_DEBUG did not compile on LP64 systems due to
  using %d for sizeof().

Reported by: Jenkins[0]
sys/netgraph/ng_macfilter.c