]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IPV4]: Formatting fix for /proc/net/fib_trie.
authorDenis V. Lunev <den@openvz.org>
Tue, 5 Feb 2008 10:58:45 +0000 (02:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Feb 2008 10:58:45 +0000 (02:58 -0800)
The line in the /proc/net/fib_trie for route with TOS specified
- has extra \n at the end
- does not have a space after route scope
like below.
           |-- 1.1.1.1
              /32 universe UNICASTtos =1

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c

index 35851c96bdfb2e6f00eb3681b4d9a090a0163a42..f5fba3f71c06e09283a29d48f2719bc9ad1be15b 100644 (file)
@@ -2431,8 +2431,7 @@ static int fib_trie_seq_show(struct seq_file *seq, void *v)
                                           rtn_type(buf2, sizeof(buf2),
                                                    fa->fa_type));
                                if (fa->fa_tos)
-                                       seq_printf(seq, "tos =%d\n",
-                                                  fa->fa_tos);
+                                       seq_printf(seq, " tos=%d", fa->fa_tos);
                                seq_putc(seq, '\n');
                        }
                }