diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-06-13 00:22:18 -0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-08-10 07:35:20 -0400 |
commit | 57750a22ed022ed6fcdcc5bc58d16011ccfe575f (patch) | |
tree | 22009542552726649f04918d75c5273dea72c5cc /net/ipv4 | |
parent | 93bb1e9d117bfc60306b2b8bd9e0fa7ba3c88636 (diff) |
netfilter: conntrack: switch hook PFs to nfproto
Simple substitution to indicate that the fields indeed use the
NFPROTO_ space.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c index 7d2ead7228ac..8905cc76e0be 100644 --- a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c +++ b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c | |||
@@ -158,28 +158,28 @@ static struct nf_hook_ops ipv4_conntrack_ops[] __read_mostly = { | |||
158 | { | 158 | { |
159 | .hook = ipv4_conntrack_in, | 159 | .hook = ipv4_conntrack_in, |
160 | .owner = THIS_MODULE, | 160 | .owner = THIS_MODULE, |
161 | .pf = PF_INET, | 161 | .pf = NFPROTO_IPV4, |
162 | .hooknum = NF_INET_PRE_ROUTING, | 162 | .hooknum = NF_INET_PRE_ROUTING, |
163 | .priority = NF_IP_PRI_CONNTRACK, | 163 | .priority = NF_IP_PRI_CONNTRACK, |
164 | }, | 164 | }, |
165 | { | 165 | { |
166 | .hook = ipv4_conntrack_local, | 166 | .hook = ipv4_conntrack_local, |
167 | .owner = THIS_MODULE, | 167 | .owner = THIS_MODULE, |
168 | .pf = PF_INET, | 168 | .pf = NFPROTO_IPV4, |
169 | .hooknum = NF_INET_LOCAL_OUT, | 169 | .hooknum = NF_INET_LOCAL_OUT, |
170 | .priority = NF_IP_PRI_CONNTRACK, | 170 | .priority = NF_IP_PRI_CONNTRACK, |
171 | }, | 171 | }, |
172 | { | 172 | { |
173 | .hook = ipv4_confirm, | 173 | .hook = ipv4_confirm, |
174 | .owner = THIS_MODULE, | 174 | .owner = THIS_MODULE, |
175 | .pf = PF_INET, | 175 | .pf = NFPROTO_IPV4, |
176 | .hooknum = NF_INET_POST_ROUTING, | 176 | .hooknum = NF_INET_POST_ROUTING, |
177 | .priority = NF_IP_PRI_CONNTRACK_CONFIRM, | 177 | .priority = NF_IP_PRI_CONNTRACK_CONFIRM, |
178 | }, | 178 | }, |
179 | { | 179 | { |
180 | .hook = ipv4_confirm, | 180 | .hook = ipv4_confirm, |
181 | .owner = THIS_MODULE, | 181 | .owner = THIS_MODULE, |
182 | .pf = PF_INET, | 182 | .pf = NFPROTO_IPV4, |
183 | .hooknum = NF_INET_LOCAL_IN, | 183 | .hooknum = NF_INET_LOCAL_IN, |
184 | .priority = NF_IP_PRI_CONNTRACK_CONFIRM, | 184 | .priority = NF_IP_PRI_CONNTRACK_CONFIRM, |
185 | }, | 185 | }, |