Fix kernel module names

This commit is contained in:
Quentin McGaw
2026-02-27 12:16:54 +00:00
parent af0bc3e224
commit 1fd4cc511a
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func newKernelModules() kernelModules {
"nf_reject_ipv4": &m.nfRejectIPv4,
"xt_connmark": &m.xtConnmark,
"xt_conntrack": &m.xtConntrack,
"xt_reject": &m.xtReject,
"xt_REJECT": &m.xtReject,
}
for name, fieldPtr := range nameToFieldPtr {
fieldPtr.name = name
+3 -3
View File
@@ -92,12 +92,12 @@ func moduleNameToKernelFeatureGroups(moduleName string) (featureGroups [][]strin
"nf_reject_ipv4": {{"CONFIG_NF_REJECT_IPV4"}},
// Common Netfilter Targets
"xt_log": {{"CONFIG_NETFILTER_XT_TARGET_LOG"}},
"xt_reject": {
"xt_LOG": {{"CONFIG_NETFILTER_XT_TARGET_LOG"}},
"xt_REJECT": {
{"CONFIG_IP_NF_TARGET_REJECT", "CONFIG_NF_REJECT_IPV4"},
{"CONFIG_NETFILTER_XT_TARGET_REJECT", "CONFIG_NF_REJECT_IPV4"},
},
"xt_masquerade": {{"CONFIG_NETFILTER_XT_TARGET_MASQUERADE"}},
"xt_MASQUERADE": {{"CONFIG_NETFILTER_XT_TARGET_MASQUERADE"}},
// Additional Netfilter Matches
"xt_addrtype": {{"CONFIG_NETFILTER_XT_MATCH_ADDRTYPE"}},