Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203354
b: refs/heads/master
c: cf377eb
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy committed Jun 28, 2010
1 parent 2b4aba5 commit 78e43b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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: d70a011dbbaa6335a19deb63ec3eb613f48faafd
refs/heads/master: cf377eb4aeded926375d4d0fe0b66ba95f0521e1
12 changes: 6 additions & 6 deletions trunk/net/ipv4/netfilter/ipt_LOG.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,12 +411,12 @@ ipt_log_packet(u_int8_t pf,
skb->mac_header != skb->network_header) {
int i;
const unsigned char *p = skb_mac_header(skb);
for (i = 0; i < skb->dev->hard_header_len; i++,p++)
printk("%02x%c", *p,
i==skb->dev->hard_header_len - 1
? ' ':':');
} else
printk(" ");

printk("%02x", *p++);
for (i = 1; i < skb->dev->hard_header_len; i++, p++)
printk(":%02x", *p);
}
printk(" ");
}

dump_packet(loginfo, skb, 0);
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/ipv6/netfilter/ip6t_LOG.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,9 @@ ip6t_log_packet(u_int8_t pf,
p = NULL;

if (p != NULL) {
for (i = 0; i < len; i++)
printk("%02x%s", p[i],
i == len - 1 ? "" : ":");
printk("%02x", *p++);
for (i = 1; i < len; i++)
printk(":%02x", p[i]);
}
printk(" ");

Expand Down

0 comments on commit 78e43b0

Please sign in to comment.