diff options
| -rw-r--r-- | net/netfilter/xt_tcpudp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_tcpudp.c b/net/netfilter/xt_tcpudp.c index ab7d845224fc..223f9bded672 100644 --- a/net/netfilter/xt_tcpudp.c +++ b/net/netfilter/xt_tcpudp.c | |||
| @@ -188,7 +188,7 @@ udp_checkentry(const char *tablename, | |||
| 188 | void *matchinfo, | 188 | void *matchinfo, |
| 189 | unsigned int hook_mask) | 189 | unsigned int hook_mask) |
| 190 | { | 190 | { |
| 191 | const struct xt_tcp *udpinfo = matchinfo; | 191 | const struct xt_udp *udpinfo = matchinfo; |
| 192 | 192 | ||
| 193 | /* Must specify no unknown invflags */ | 193 | /* Must specify no unknown invflags */ |
| 194 | return !(udpinfo->invflags & ~XT_UDP_INV_MASK); | 194 | return !(udpinfo->invflags & ~XT_UDP_INV_MASK); |
