[Bug 259184] Selecting an address in pf_map_addr is not an error

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Oct 2021 11:20:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259184

            Bug ID: 259184
           Summary: Selecting an address in pf_map_addr is not an error
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: vegeta@tuxpowered.net

Created attachment 228720
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228720&action=edit
Selecting pf_map_addr is not an error

When a redirection/nat IP address is selected by pf_map_addr it is logged with
PF_DEBUG_MISC level. This one according to the manual means "Generate debug
messages for various errors". Selecting an IP address is not an error, it's a
normal function of pf for route-to, nat and some other operations. Therefore
PF_DEBUG_NOISY level should be choosen which is means "Generate debug messages
for common conditions".

If the patch gets accepted, please add the usual footer to commit:

Submitted by: Kajetan Staszkiewicz <vegeta tuxpowered.net>
Sponsored by: InnoGames GmbH

-- 
You are receiving this mail because:
You are the assignee for the bug.