]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Correct broadcast link peer info when displaying links
authorAllan Stephens <Allan.Stephens@windriver.com>
Mon, 21 Feb 2011 14:45:31 +0000 (09:45 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Mar 2011 20:35:16 +0000 (16:35 -0400)
commit18da60244c1de1bd59fc93264b35c9a70a172fe8
treebdaa8068473d618efa81d2367a3fb2e970f19886
parent6355423d910bbb7b5903f56d47295c3670ec7c7a
tipc: Correct broadcast link peer info when displaying links

Fixes a typo in the calculation of the network address of a node's own
cluster when generating a response to the configuration command that
lists all of the node's links. The correct mask value for a <Z.C.N>
network address uses 1's for the 8-bit zone and 12-bit cluster parts
and 0's for the 12-bit node part.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/node.c