]> err.no Git - linux-2.6/blobdiff - net/netfilter/xt_tcpudp.c
[POWERPC] 83xx: Add default config file for Wind River SBC8349 board
[linux-2.6] / net / netfilter / xt_tcpudp.c
index ab7d845224fce9f7dad1b92f3d6a91d9c7c16411..223f9bded672dcfc3e3ea01e130b37e9fa15e53d 100644 (file)
@@ -188,7 +188,7 @@ udp_checkentry(const char *tablename,
               void *matchinfo,
               unsigned int hook_mask)
 {
-       const struct xt_tcp *udpinfo = matchinfo;
+       const struct xt_udp *udpinfo = matchinfo;
 
        /* Must specify no unknown invflags */
        return !(udpinfo->invflags & ~XT_UDP_INV_MASK);