diff options
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r-- | source3/nmbd/nmbd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index e757aa46c4..837f98e8bb 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -44,6 +44,8 @@ extern pstring myname; extern fstring myworkgroup; extern char **my_netbios_names; +extern BOOL global_in_nmbd; + /* are we running as a daemon ? */ static BOOL is_daemon = False; @@ -552,6 +554,7 @@ int main(int argc,char *argv[]) global_nmb_port = NMB_PORT; *host_file = 0; + global_in_nmbd = True; StartupTime = time(NULL); |