Skip to content

Commit

Permalink
[TIPC]: Can now list multicast link on an isolated network node
Browse files Browse the repository at this point in the history
This patch fixes a minor bug that prevents "tipc-config -l" from
displaying the multicast link if a TIPC node has never successfully
established at least one unicast link.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Allan Stephens authored and David S. Miller committed Oct 19, 2006
1 parent 2de07f6 commit fc144de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/tipc/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ struct sk_buff *tipc_node_get_links(const void *req_tlv_area, int req_tlv_space)
return tipc_cfg_reply_error_string(TIPC_CFG_INVALID_VALUE
" (network address)");

if (!tipc_nodes)
if (tipc_mode != TIPC_NET_MODE)
return tipc_cfg_reply_none();

/* Get space for all unicast links + multicast link */
Expand Down

0 comments on commit fc144de

Please sign in to comment.