summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 10b356d9b5..e2a4bdeb67 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -53,7 +53,6 @@ time_t StartupTime =0;
extern struct in_addr ipzero;
-
/****************************************************************************
catch a sigterm
****************************************************************************/
@@ -90,6 +89,8 @@ static int sig_hup(void)
dump_names();
reload_services(True);
+ set_samba_nb_type();
+
BlockSignals(False);
#ifndef DONT_REINSTALL_SIG
signal(SIGHUP,SIGNAL_CAST sig_hup);
@@ -524,6 +525,8 @@ static void usage(char *pname)
if (!reload_services(False))
return(-1);
+ set_samba_nb_type();
+
if (*group)
add_my_subnets(group);