From 25b30c08dce8c04b7b98c02ac1de61d7aa76798f Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Wed, 17 Jul 1996 18:33:36 +0000 Subject: lots of changes to nmbd lkcl (This used to be commit 45d3b2644733333c657c48a69719fec72881f7df) --- source3/nameservresp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/nameservresp.c') diff --git a/source3/nameservresp.c b/source3/nameservresp.c index e47afc55b3..46acc2b992 100644 --- a/source3/nameservresp.c +++ b/source3/nameservresp.c @@ -339,7 +339,7 @@ static void response_name_query_register(struct nmb_packet *nmb, } /* register the old or the new owners' ip */ - add_name_respond(d, n->fd, n->response_id,&n->name,n->nb_flags, + add_name_respond(d, n->fd, d->myip, n->response_id,&n->name,n->nb_flags, GET_TTL(0), register_ip, new_owner, n->reply_to_ip); } @@ -434,7 +434,7 @@ static void debug_rr_type(int rr_type) /**************************************************************************** report the response record nmbd state ****************************************************************************/ -static void debug_state_type(int state) +void debug_state_type(int state) { /* report the state type to help debugging */ switch (state) -- cgit