mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 11:34:57 +02:00
xt_psd: add IPv6 support
Because most users will probably only use IPv4 psd, allocate most of the state6 storage when the first IPv6 psd rule is added, and not at module load time via .bss.
This commit is contained in:

committed by
Jan Engelhardt

parent
0a97126f5b
commit
3a6e73e986
@@ -142,7 +142,7 @@ static struct xtables_match psd_mt_reg = {
|
||||
.name = "psd",
|
||||
.version = XTABLES_VERSION,
|
||||
.revision = 1,
|
||||
.family = NFPROTO_IPV4,
|
||||
.family = NFPROTO_UNSPEC,
|
||||
.size = XT_ALIGN(sizeof(struct xt_psd_info)),
|
||||
.userspacesize = XT_ALIGN(sizeof(struct xt_psd_info)),
|
||||
.help = psd_mt_help,
|
||||
|
Reference in New Issue
Block a user