summaryrefslogtreecommitdiffstats
path: root/net/tipc/config.c
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2011-02-28 20:56:15 +0100
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-03-13 21:35:18 +0100
commit50d3e6399a61fca53c5c440a79f71299db66b803 (patch)
tree44470f60fb8cc9ed2d4b67280c5b6ba506e31617 /net/tipc/config.c
parenttipc: Optimizations to link creation code (diff)
downloadlinux-50d3e6399a61fca53c5c440a79f71299db66b803.tar.xz
linux-50d3e6399a61fca53c5c440a79f71299db66b803.zip
tipc: Correct misnamed references to neighbor discovery domain
Renames items that are improperly labelled as "network scope" items (which are represented by simple integer values) rather than "network domain" items (which are represented by <Z.C.N>-type network addresses). This change is purely cosmetic, and does not affect the operation of TIPC. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/config.c')
-rw-r--r--net/tipc/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/config.c b/net/tipc/config.c
index fa3d50860055..b25a396b7e1e 100644
--- a/net/tipc/config.c
+++ b/net/tipc/config.c
@@ -148,7 +148,7 @@ static struct sk_buff *cfg_enable_bearer(void)
args = (struct tipc_bearer_config *)TLV_DATA(req_tlv_area);
if (tipc_enable_bearer(args->name,
- ntohl(args->detect_scope),
+ ntohl(args->disc_domain),
ntohl(args->priority)))
return tipc_cfg_reply_error_string("unable to enable bearer");