diff options
| author | Alban Crequy <alban.crequy@collabora.co.uk> | 2012-05-13 23:56:35 -0400 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-07 08:58:42 -0400 |
| commit | 3d33bf2bd83b27707f4bd31ba988bd4d4b92c7ad (patch) | |
| tree | b57f6b43aea2fcabd17c5860ad26b5afd4211674 | |
| parent | efdedd5426a94b00d23483a1bcb4af3a91c894db (diff) | |
netfilter: decnet: switch hook PFs to nfproto
This patch is a cleanup. Use NFPROTO_* for consistency with other
netfilter code.
Signed-off-by: Alban Crequy <alban.crequy@collabora.co.uk>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Vincent Sanders <vincent.sanders@collabora.co.uk>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
| -rw-r--r-- | net/decnet/netfilter/dn_rtmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/netfilter/dn_rtmsg.c b/net/decnet/netfilter/dn_rtmsg.c index 44b890936fc0..e6f886255cde 100644 --- a/net/decnet/netfilter/dn_rtmsg.c +++ b/net/decnet/netfilter/dn_rtmsg.c | |||
| @@ -117,7 +117,7 @@ static inline void dnrmg_receive_user_skb(struct sk_buff *skb) | |||
| 117 | 117 | ||
| 118 | static struct nf_hook_ops dnrmg_ops __read_mostly = { | 118 | static struct nf_hook_ops dnrmg_ops __read_mostly = { |
| 119 | .hook = dnrmg_hook, | 119 | .hook = dnrmg_hook, |
| 120 | .pf = PF_DECnet, | 120 | .pf = NFPROTO_DECNET, |
| 121 | .hooknum = NF_DN_ROUTE, | 121 | .hooknum = NF_DN_ROUTE, |
| 122 | .priority = NF_DN_PRI_DNRTMSG, | 122 | .priority = NF_DN_PRI_DNRTMSG, |
| 123 | }; | 123 | }; |
