Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119259
b: refs/heads/master
c: 5ece6c2
h: refs/heads/master
i:
  119257: 9c9b289
  119255: 3936de1
v: v3
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Nov 20, 2008
1 parent 8354bc0 commit f870cb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: a849854fc7e200d5e5a437dec9c1d0e8b105e50f
refs/heads/master: 5ece6c2ddd6f7da9e95dc325c742c0f5afbcecbe
6 changes: 3 additions & 3 deletions trunk/net/ipv6/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static struct snmp_mib snmp6_udplite6_list[] = {

static void snmp6_seq_show_icmpv6msg(struct seq_file *seq, void **mib)
{
static char name[32];
char name[32];
int i;

/* print by name -- deprecated items */
Expand All @@ -144,7 +144,7 @@ static void snmp6_seq_show_icmpv6msg(struct seq_file *seq, void **mib)
p = icmp6type2name[icmptype];
if (!p) /* don't print un-named types here */
continue;
(void) snprintf(name, sizeof(name)-1, "Icmp6%s%s",
snprintf(name, sizeof(name), "Icmp6%s%s",
i & 0x100 ? "Out" : "In", p);
seq_printf(seq, "%-32s\t%lu\n", name,
snmp_fold_field(mib, i));
Expand All @@ -157,7 +157,7 @@ static void snmp6_seq_show_icmpv6msg(struct seq_file *seq, void **mib)
val = snmp_fold_field(mib, i);
if (!val)
continue;
(void) snprintf(name, sizeof(name)-1, "Icmp6%sType%u",
snprintf(name, sizeof(name), "Icmp6%sType%u",
i & 0x100 ? "Out" : "In", i & 0xff);
seq_printf(seq, "%-32s\t%lu\n", name, val);
}
Expand Down

0 comments on commit f870cb8

Please sign in to comment.