Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290812
b: refs/heads/master
c: 417e02b
h: refs/heads/master
v: v3
  • Loading branch information
Richard Weinberger authored and Pablo Neira Ayuso committed Mar 7, 2012
1 parent fe50992 commit 76c2549
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f1f815103eb13823d34875807c1710b8e2b0f09
refs/heads/master: 417e02bf4280f001464ca55a36e9b3acad94eca4
4 changes: 4 additions & 0 deletions trunk/net/netfilter/xt_LOG.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,14 @@ static void dump_ipv4_packet(struct sbuff *m,
ntohs(ih->frag_off) & IP_OFFSET,
iphoff+ih->ihl*4, logflags))
return;
break;
case IPPROTO_UDP:
case IPPROTO_UDPLITE:
if (dump_udp_header(m, skb, ih->protocol,
ntohs(ih->frag_off) & IP_OFFSET,
iphoff+ih->ihl*4))
return;
break;
case IPPROTO_ICMP: {
struct icmphdr _icmph;
const struct icmphdr *ich;
Expand Down Expand Up @@ -649,10 +651,12 @@ static void dump_ipv6_packet(struct sbuff *m,
if (dump_tcp_header(m, skb, currenthdr, fragment, ptr,
logflags))
return;
break;
case IPPROTO_UDP:
case IPPROTO_UDPLITE:
if (dump_udp_header(m, skb, currenthdr, fragment, ptr))
return;
break;
case IPPROTO_ICMPV6: {
struct icmp6hdr _icmp6h;
const struct icmp6hdr *ic;
Expand Down

0 comments on commit 76c2549

Please sign in to comment.