Commit c2f9c683 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Patrick McHardy

[NETFILTER]: Explicitly initialize .priority in arptable_filter

Signed-off-by: default avatarJan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 3bb0362d
...@@ -70,18 +70,21 @@ static struct nf_hook_ops arpt_ops[] __read_mostly = { ...@@ -70,18 +70,21 @@ static struct nf_hook_ops arpt_ops[] __read_mostly = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pf = NF_ARP, .pf = NF_ARP,
.hooknum = NF_ARP_IN, .hooknum = NF_ARP_IN,
.priority = NF_IP_PRI_FILTER,
}, },
{ {
.hook = arpt_hook, .hook = arpt_hook,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pf = NF_ARP, .pf = NF_ARP,
.hooknum = NF_ARP_OUT, .hooknum = NF_ARP_OUT,
.priority = NF_IP_PRI_FILTER,
}, },
{ {
.hook = arpt_hook, .hook = arpt_hook,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pf = NF_ARP, .pf = NF_ARP,
.hooknum = NF_ARP_FORWARD, .hooknum = NF_ARP_FORWARD,
.priority = NF_IP_PRI_FILTER,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment