From: Allan Stephens Date: Tue, 17 Oct 2006 04:57:56 +0000 (-0700) Subject: [TIPC]: Can now list multicast link on an isolated network node X-Git-Tag: v2.6.19-rc3~45^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc144deec6403c17e6d3f6a6574f701420f166ed;p=profile%2Fivi%2Fkernel-x86-ivi.git [TIPC]: Can now list multicast link on an isolated network node 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 Signed-off-by: Per Liden Signed-off-by: David S. Miller --- diff --git a/net/tipc/node.c b/net/tipc/node.c index fc6d096..886bda5 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -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 */