summaryrefslogtreecommitdiff
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-27 12:56:22 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-27 12:16:25 +0200
commitdc00df2adddfe23e5ebb61f9f7c16ec7d3f2c03e (patch)
treed6d3e1c86529378fe9f48578d7929a2881db58a5 /lib/param/param_table.c
parentb181a0b96b8313206923e6f5b46b0803aaf64907 (diff)
downloadsamba-dc00df2adddfe23e5ebb61f9f7c16ec7d3f2c03e.tar.gz
samba-dc00df2adddfe23e5ebb61f9f7c16ec7d3f2c03e.tar.bz2
samba-dc00df2adddfe23e5ebb61f9f7c16ec7d3f2c03e.zip
lib/param: Rename "socket address" to "nbt client socket address" to clarify role
This parameter is only used in our NBT client code and in nmbd as a fallback when we fail to select a better interface from "interfaces" to use directly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r--lib/param/param_table.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 7cbc15cb0b..a793695083 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -3477,10 +3477,19 @@ static struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED,
},
{
+ .label = "nbt client socket address",
+ .type = P_STRING,
+ .p_class = P_GLOBAL,
+ .offset = GLOBAL_VAR(nbt_client_socket_address),
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_ADVANCED | FLAG_DEPRECATED,
+ },
+ {
.label = "socket address",
.type = P_STRING,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(szSocketAddress),
+ .offset = GLOBAL_VAR(nbt_client_socket_address),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_DEPRECATED,