HomeFreeBSD

ipfw: Add sysctl flag CTLFLAG_TUN to loader tunables

Description

ipfw: Add sysctl flag CTLFLAG_TUN to loader tunables

The following sysctl variables are actually loader tunables. Add sysctl
flag CTLFLAG_TUN to them so that sysctl -T will report them correctly.

  1. net.inet.ip.fw.enable
  2. net.inet6.ip6.fw.enable
  3. net.link.ether.ipfw

No functional change intended.

Reviewed by: glebius
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D41928

(cherry picked from commit 49197c391b3d49a33bcd08471bf64d533cd10f9d)

Details

Provenance
zleiAuthored on Sep 25 2023, 10:10 AM
Reviewer
glebius
Differential Revision
D41928: Add sysctl flag CTLFLAG_TUN to loader tunables
Parents
rGda2b630c12ec: netinet6: Add sysctl flag CTLFLAG_TUN to loader tunables
Branches
Unknown
Tags
Unknown