diff options
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 12ddc6581572..a34cabc2c43a 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -406,7 +406,7 @@ struct sk_buff *tipc_node_get_links(const void *req_tlv_area, int req_tlv_space) | |||
406 | return tipc_cfg_reply_error_string(TIPC_CFG_INVALID_VALUE | 406 | return tipc_cfg_reply_error_string(TIPC_CFG_INVALID_VALUE |
407 | " (network address)"); | 407 | " (network address)"); |
408 | 408 | ||
409 | if (tipc_mode != TIPC_NET_MODE) | 409 | if (!tipc_own_addr) |
410 | return tipc_cfg_reply_none(); | 410 | return tipc_cfg_reply_none(); |
411 | 411 | ||
412 | read_lock_bh(&tipc_net_lock); | 412 | read_lock_bh(&tipc_net_lock); |