Skip to contentSkip to conversation

: Formatting fix for /proc/net/fib_trie.

PATCH Applied Denis V. Lunev 2 participants 2 messages Feb 5, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Formatting fix for /proc/net/fib_trie.

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

---
 net/ipv4/fib_trie.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
net/ipv4/fib_trie.c +1 -2
index 35851c9..f5fba3f 100644
@@ -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');
 			}
 		}
Signature · 1 line
1.5.3.rc5
maintainer Applied
#1 lore raw

From: "Denis V. Lunev" <[email protected]>
Date: Tue, 5 Feb 2008 12:58:56 +0300

Quoted 8 lines

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

Applied, thanks.