diff options
| author | Allan Stephens <[email protected]> | 2006-10-17 04:57:56 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2006-10-19 02:55:21 +0000 |
| commit | fc144deec6403c17e6d3f6a6574f701420f166ed (patch) | |
| tree | d7316e305bedfdc97fd67dbf40b6f9d357041bce /net/tipc/node.c | |
| parent | [TIPC]: Fixed slow link reactivation when link tolerance is large (diff) | |
| download | kernel-fc144deec6403c17e6d3f6a6574f701420f166ed.tar.gz kernel-fc144deec6403c17e6d3f6a6574f701420f166ed.zip | |
[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 <[email protected]>
Signed-off-by: Per Liden <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
| -rw-r--r-- | net/tipc/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index fc6d09630ccd..886bda5e88db 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 */ |
