lib/param: Merge "WINS Options" section from source3/param
authorAndrew Bartlett <abartlet@samba.org>
Thu, 26 Jul 2012 06:00:40 +0000 (16:00 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 26 Jul 2012 10:23:20 +0000 (12:23 +0200)
This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

lib/param/loadparm.c

index b3f73e661a9af509fed66c9a0038f105e855a927..b303cdf82c5e1c2661e43b29f8a9ccabfaad720c 100644 (file)
@@ -909,13 +909,25 @@ static struct parm_struct parm_table[] = {
                .enum_list      = NULL
        },
 
+       {N_("WINS Options"), P_SEP, P_SEPARATOR},
+
        {
                .label          = "dns proxy",
                .type           = P_BOOL,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(bWINSdnsProxy),
                .special        = NULL,
-               .enum_list      = NULL
+               .enum_list      = NULL,
+               .flags          = FLAG_ADVANCED,
+       },
+       {
+               .label          = "wins proxy",
+               .type           = P_BOOL,
+               .p_class        = P_GLOBAL,
+               .offset         = GLOBAL_VAR(bWINSproxy),
+               .special        = NULL,
+               .enum_list      = NULL,
+               .flags          = FLAG_ADVANCED,
        },
        {
                .label          = "wins server",