Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236563
b: refs/heads/master
c: b468645
h: refs/heads/master
i:
  236561: 3dda7e5
  236559: 3ac9d73
v: v3
  • Loading branch information
Jan Engelhardt authored and Patrick McHardy committed Nov 15, 2010
1 parent b8d0bbb commit f25039d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca36181050a523f6c0af3ef7cb509bbbc4ede276
refs/heads/master: b468645d72c2b4a15512f0a18e77670ea058b861
3 changes: 1 addition & 2 deletions trunk/net/ipv4/netfilter/ipt_LOG.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,7 @@ ipt_log_packet(u_int8_t pf,
}
#endif

/* MAC logging for input path only. */
if (in && !out)
if (in != NULL)
dump_mac_header(m, loginfo, skb);

dump_packet(m, loginfo, skb, 0);
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/ipv6/netfilter/ip6t_LOG.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,7 @@ ip6t_log_packet(u_int8_t pf,
in ? in->name : "",
out ? out->name : "");

/* MAC logging for input path only. */
if (in && !out)
if (in != NULL)
dump_mac_header(m, loginfo, skb);

dump_packet(m, loginfo, skb, skb_network_offset(skb), 1);
Expand Down

0 comments on commit f25039d

Please sign in to comment.