Commit 869ba988 authored by Florent Fourcot's avatar Florent Fourcot Committed by David S. Miller

ipv6: trivial, add bracket for the if block

The "else" block is on several lines and use bracket.
Signed-off-by: default avatarFlorent Fourcot <florent.fourcot@enst-bretagne.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 05006e8c
...@@ -769,10 +769,10 @@ static void ip6fl_seq_stop(struct seq_file *seq, void *v) ...@@ -769,10 +769,10 @@ static void ip6fl_seq_stop(struct seq_file *seq, void *v)
static int ip6fl_seq_show(struct seq_file *seq, void *v) static int ip6fl_seq_show(struct seq_file *seq, void *v)
{ {
struct ip6fl_iter_state *state = ip6fl_seq_private(seq); struct ip6fl_iter_state *state = ip6fl_seq_private(seq);
if (v == SEQ_START_TOKEN) if (v == SEQ_START_TOKEN) {
seq_printf(seq, "%-5s %-1s %-6s %-6s %-6s %-8s %-32s %s\n", seq_printf(seq, "%-5s %-1s %-6s %-6s %-6s %-8s %-32s %s\n",
"Label", "S", "Owner", "Users", "Linger", "Expires", "Dst", "Opt"); "Label", "S", "Owner", "Users", "Linger", "Expires", "Dst", "Opt");
else { } else {
struct ip6_flowlabel *fl = v; struct ip6_flowlabel *fl = v;
seq_printf(seq, seq_printf(seq,
"%05X %-1d %-6d %-6d %-6ld %-8ld %pi6 %-4d\n", "%05X %-1d %-6d %-6d %-6ld %-8ld %pi6 %-4d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment