diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-10-14 12:51:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:42:31 -0500 |
commit | 56e4a9dd2b8d1e0f7020ad607e1763836d9948a8 (patch) | |
tree | ce1acaf51a0c2af6c349241cb22b51f67cc278a1 /source4/nbt_server | |
parent | a76ffb574c3b8885892b62f093786c8b52127054 (diff) | |
download | samba-56e4a9dd2b8d1e0f7020ad607e1763836d9948a8.tar.gz samba-56e4a9dd2b8d1e0f7020ad607e1763836d9948a8.tar.bz2 samba-56e4a9dd2b8d1e0f7020ad607e1763836d9948a8.zip |
r11030: r10338@SERNOX: metze | 2005-09-20 09:20:49 +0200
fix uninitialized variable
metze
(This used to be commit e6fb40e51d2742c05c2fbbb96f367710e46ba7ae)
Diffstat (limited to 'source4/nbt_server')
-rw-r--r-- | source4/nbt_server/wins/winsserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c index ddb4c6cc6c..37b59cdc7f 100644 --- a/source4/nbt_server/wins/winsserver.c +++ b/source4/nbt_server/wins/winsserver.c @@ -55,6 +55,7 @@ static uint8_t wins_register_new(struct nbt_name_socket *nbtsock, rec.name = name; rec.nb_flags = nb_flags; rec.state = WINS_REC_ACTIVE; + rec.wins_owner = WINSDB_OWNER_LOCAL; rec.expire_time = time(NULL) + ttl; rec.registered_by = src->addr; rec.addresses = winsdb_addr_list_make(packet); |