summaryrefslogtreecommitdiffstats
path: root/source/nameservresp.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1996-07-17 18:33:36 +0000
committerSamba Release Account <samba-bugs@samba.org>1996-07-17 18:33:36 +0000
commit45d3b2644733333c657c48a69719fec72881f7df (patch)
tree69ef4ec7c4f96b9c3f4fb451e73939cbcdf0a96a /source/nameservresp.c
parentc290c229f9cef7f8bea0a77531ef7b3501323e9c (diff)
downloadsamba-45d3b2644733333c657c48a69719fec72881f7df.tar.gz
samba-45d3b2644733333c657c48a69719fec72881f7df.tar.xz
samba-45d3b2644733333c657c48a69719fec72881f7df.zip
lots of changes to nmbd
lkcl
Diffstat (limited to 'source/nameservresp.c')
-rw-r--r--source/nameservresp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nameservresp.c b/source/nameservresp.c
index e47afc55b34..46acc2b9927 100644
--- a/source/nameservresp.c
+++ b/source/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)