tipc: Correct broadcast link peer info when displaying links
[linux-2.6.git] / net / tipc / node.c
index e4dba1dfb6ea8ec0d54164f1767417213bc443b9..d040d4754e392195015c82f7deaf02663c9c2267 100644 (file)
@@ -470,7 +470,7 @@ struct sk_buff *tipc_node_get_links(const void *req_tlv_area, int req_tlv_space)
 
        /* Add TLV for broadcast link */
 
-       link_info.dest = htonl(tipc_own_addr & 0xfffff00);
+       link_info.dest = htonl(tipc_own_addr & 0xfffff000);
        link_info.up = htonl(1);
        strlcpy(link_info.str, tipc_bclink_name, TIPC_MAX_LINK_NAME);
        tipc_cfg_append_tlv(buf, TIPC_TLV_LINK_INFO, &link_info, sizeof(link_info));