diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-10-02 15:41:30 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-10-02 15:41:30 +0000 |
commit | afd08462ad5ff6b3c4bf621e39c55853a608175e (patch) | |
tree | fdbaf287628ee046f0db73dd13611a03089fb47b /source3/namedbresp.c | |
parent | 5a2f52b79e28530c454cb488a44588147640f061 (diff) | |
download | samba-afd08462ad5ff6b3c4bf621e39c55853a608175e.tar.gz samba-afd08462ad5ff6b3c4bf621e39c55853a608175e.tar.bz2 samba-afd08462ad5ff6b3c4bf621e39c55853a608175e.zip |
backout all the changes to nmbd.
The 1.9.16 tree is now back to 1.9.16p2 as far as nmbd is concerned
apart from a small change that fixes the announce type in two places.
(This used to be commit 45e66a69d320024877c8b13f12b21bf895e04410)
Diffstat (limited to 'source3/namedbresp.c')
-rw-r--r-- | source3/namedbresp.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source3/namedbresp.c b/source3/namedbresp.c index aad6188384..d89bfe8ae8 100644 --- a/source3/namedbresp.c +++ b/source3/namedbresp.c @@ -92,9 +92,8 @@ void remove_response_record(struct subnet_record *d, create a name query response record **************************************************************************/ struct response_record *make_response_queue_record(enum state_type state, - int id,uint16 fd, int quest_type, - int token, char *name,int type, - enum name_source source, int nb_flags, time_t ttl, + int id,uint16 fd, + int quest_type, char *name,int type, int nb_flags, time_t ttl, int server_type, char *my_name, char *my_comment, BOOL bcast,BOOL recurse, struct in_addr send_ip, struct in_addr reply_to_ip) @@ -110,17 +109,14 @@ struct response_record *make_response_queue_record(enum state_type state, n->state = state; n->fd = fd; n->quest_type = quest_type; - - n->token = token; make_nmb_name(&n->name, name, type, scope); + n->nb_flags = nb_flags; n->ttl = ttl; - n->source = source; n->server_type = server_type; n->bcast = bcast; n->recurse = recurse; - n->reply.nb_flags = nb_flags; - n->reply.ip = reply_to_ip; n->send_ip = send_ip; + n->reply_to_ip = reply_to_ip; StrnCpy(my_name , n->my_name , sizeof(n->my_name )-1); StrnCpy(my_comment, n->my_comment, sizeof(n->my_comment)-1); |