X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fnetfilter%2Fxt_realm.c;h=c2017f8af9c42457b3a61f678b7b842e74421a9d;hb=2a5e1c0eb9efe26eed1dd072fe08de5797a7efd5;hp=a80b7d132b65fd7cf2460758f7bf007cbf54cad9;hpb=3e8e7c93d7eb091463839b5212789c4aae09459e;p=powerpc.git diff --git a/net/netfilter/xt_realm.c b/net/netfilter/xt_realm.c index a80b7d132b..c2017f8af9 100644 --- a/net/netfilter/xt_realm.c +++ b/net/netfilter/xt_realm.c @@ -1,6 +1,4 @@ /* IP tables module for matching the routing realm - * - * $Id: ipt_realm.c,v 1.3 2004/03/05 13:25:40 laforge Exp $ * * (C) 2003 by Sampsa Ranta * @@ -35,7 +33,7 @@ match(const struct sk_buff *skb, { const struct xt_realm_info *info = matchinfo; struct dst_entry *dst = skb->dst; - + return (info->id == (dst->tclassid & info->mask)) ^ info->invert; }