aboutsummaryrefslogtreecommitdiffstats
path: root/net/802/tr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/tr.c')
-rw-r--r--net/802/tr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/802/tr.c b/net/802/tr.c
index eb2de0d16208..0ba1946211c9 100644
--- a/net/802/tr.c
+++ b/net/802/tr.c
@@ -554,7 +554,8 @@ static int rif_seq_show(struct seq_file *seq, void *v)
554 if(j==1) { 554 if(j==1) {
555 segment=ntohs(entry->rseg[j-1])>>4; 555 segment=ntohs(entry->rseg[j-1])>>4;
556 seq_printf(seq," %03X",segment); 556 seq_printf(seq," %03X",segment);
557 }; 557 }
558
558 segment=ntohs(entry->rseg[j])>>4; 559 segment=ntohs(entry->rseg[j])>>4;
559 brdgnmb=ntohs(entry->rseg[j-1])&0x00f; 560 brdgnmb=ntohs(entry->rseg[j-1])&0x00f;
560 seq_printf(seq,"-%01X-%03X",brdgnmb,segment); 561 seq_printf(seq,"-%01X-%03X",brdgnmb,segment);