diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-03-14 10:27:54 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-07-07 23:32:36 +0200 |
commit | e87cb83b472a4906e0bd27a6a6fee3c8387a7567 (patch) | |
tree | 36ba36c5da7998ab642cbed600b4a2fad87de13f /lib/param/param_table.c | |
parent | 8947af1bd20638114a32631986325e013bfa0104 (diff) | |
download | samba-e87cb83b472a4906e0bd27a6a6fee3c8387a7567.tar.gz samba-e87cb83b472a4906e0bd27a6a6fee3c8387a7567.tar.xz samba-e87cb83b472a4906e0bd27a6a6fee3c8387a7567.zip |
param: handle smb_ports as a special handler
Avoids some problems with using str_list_make and str_list_make_v3 and tries to
verify if the ports assignment is reasonable
Change-Id: I441c4cca605c7548a5023b65994004fbac57d2df
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r-- | lib/param/param_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 88e4788f09..79b948980a 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -1324,7 +1324,7 @@ struct parm_struct parm_table[] = { .type = P_CMDLIST, .p_class = P_GLOBAL, .offset = GLOBAL_VAR(smb_ports), - .special = NULL, + .special = handle_smb_ports, .enum_list = NULL, .flags = FLAG_ADVANCED, }, |