Skip to content

Commit

Permalink
netfilter: decnet: switch hook PFs to nfproto
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alban Crequy authored and Pablo Neira Ayuso committed Jun 7, 2012
1 parent efdedd5 commit 3d33bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/decnet/netfilter/dn_rtmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static inline void dnrmg_receive_user_skb(struct sk_buff *skb)

static struct nf_hook_ops dnrmg_ops __read_mostly = {
.hook = dnrmg_hook,
.pf = PF_DECnet,
.pf = NFPROTO_DECNET,
.hooknum = NF_DN_ROUTE,
.priority = NF_DN_PRI_DNRTMSG,
};
Expand Down

0 comments on commit 3d33bf2

Please sign in to comment.