diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-14 01:04:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-14 01:04:13 +0000 |
commit | 24ca89bfb03fb82e975eff94070275ee403cd0f9 (patch) | |
tree | 3a6816c1c78780a2dae2f50a84c141be1f236b91 /source3/nmbd/nmbd_incomingdgrams.c | |
parent | 744c34be2a053501a0fabd1c31a77e95f711f3e3 (diff) | |
download | samba-24ca89bfb03fb82e975eff94070275ee403cd0f9.tar.gz |
Removed acconfig.h configure configure.in include/config.h.in: Made smbwrapper not made
by default.
nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include
file problem...sigh.
Jeremy.
(This used to be commit 9ee8f39aed8772a05c203161b4ae6b7d90d67481)
Diffstat (limited to 'source3/nmbd/nmbd_incomingdgrams.c')
-rw-r--r-- | source3/nmbd/nmbd_incomingdgrams.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/source3/nmbd/nmbd_incomingdgrams.c b/source3/nmbd/nmbd_incomingdgrams.c index e6c4ab27718..41aaebd9b1b 100644 --- a/source3/nmbd/nmbd_incomingdgrams.c +++ b/source3/nmbd/nmbd_incomingdgrams.c @@ -114,7 +114,7 @@ void process_host_announce(struct subnet_record *subrec, struct packet_struct *p DEBUG(3,("process_host_announce: from %s<%02x> IP %s to \ %s for server %s.\n", source_name, source_name[15], inet_ntoa(p->ip), - namestr(&dgram->dest_name),announce_name)); + nmb_namestr(&dgram->dest_name),announce_name)); DEBUG(5,("process_host_announce: ttl=%d server type=%08x comment=%s\n", ttl, servertype,comment)); @@ -213,7 +213,7 @@ void process_workgroup_announce(struct subnet_record *subrec, struct packet_stru DEBUG(3,("process_workgroup_announce: from %s<%02x> IP %s to \ %s for workgroup %s.\n", source_name, source_name[15], inet_ntoa(p->ip), - namestr(&dgram->dest_name),workgroup_announce_name)); + nmb_namestr(&dgram->dest_name),workgroup_announce_name)); DEBUG(5,("process_workgroup_announce: ttl=%d server type=%08x master browser=%s\n", ttl, servertype, master_name)); @@ -222,7 +222,7 @@ void process_workgroup_announce(struct subnet_record *subrec, struct packet_stru if (!strequal(dgram->dest_name.name, MSBROWSE) || (dgram->dest_name.name_type != 0x1)) { DEBUG(0,("process_workgroup_announce: from IP %s should be to __MSBROWSE__<0x01> not %s\n", - inet_ntoa(p->ip), namestr(&dgram->dest_name))); + inet_ntoa(p->ip), nmb_namestr(&dgram->dest_name))); return; } @@ -267,7 +267,7 @@ void process_local_master_announce(struct subnet_record *subrec, struct packet_s DEBUG(3,("process_local_master_announce: from %s<%02x> IP %s to \ %s for server %s.\n", source_name, source_name[15], inet_ntoa(p->ip), - namestr(&dgram->dest_name),server_name)); + nmb_namestr(&dgram->dest_name),server_name)); DEBUG(5,("process_local_master_announce: ttl=%d server type=%08x comment=%s\n", ttl, servertype, comment)); @@ -440,7 +440,7 @@ void process_lm_host_announce(struct subnet_record *subrec, struct packet_struct DEBUG(3,("process_lm_host_announce: LM Announcement from %s<%02x> IP %s to \ %s for server %s.\n", source_name, source_name[15], inet_ntoa(p->ip), - namestr(&dgram->dest_name),announce_name)); + nmb_namestr(&dgram->dest_name),announce_name)); DEBUG(5,("process_lm_host_announce: os=(%d,%d) ttl=%d server type=%08x comment=%s\n", osmajor, osminor, ttl, servertype,comment)); @@ -552,7 +552,7 @@ static void send_backup_list_response(struct subnet_record *subrec, bzero(outbuf,sizeof(outbuf)); DEBUG(3,("send_backup_list_response: sending backup list for workgroup %s to %s IP %s\n", - work->work_group, namestr(send_to_name), inet_ntoa(sendto_ip))); + work->work_group, nmb_namestr(send_to_name), inet_ntoa(sendto_ip))); p = outbuf; @@ -632,8 +632,8 @@ void process_get_backup_list_request(struct subnet_record *subrec, char *workgroup_name = dgram->dest_name.name; DEBUG(3,("process_get_backup_list_request: request from %s IP %s to %s.\n", - namestr(&dgram->source_name), inet_ntoa(p->ip), - namestr(&dgram->dest_name))); + nmb_namestr(&dgram->source_name), inet_ntoa(p->ip), + nmb_namestr(&dgram->dest_name))); /* We have to be a master browser, or a domain master browser for the requested workgroup. That means it must be our @@ -707,7 +707,7 @@ void process_reset_browser(struct subnet_record *subrec, DEBUG(1,("process_reset_browser: received diagnostic browser reset \ request from %s IP %s state=0x%X\n", - namestr(&dgram->source_name), inet_ntoa(p->ip), state)); + nmb_namestr(&dgram->source_name), inet_ntoa(p->ip), state)); /* Stop being a local master browser on all our broadcast subnets. */ if (state & 0x1) @@ -758,8 +758,8 @@ void process_announce_request(struct subnet_record *subrec, struct packet_struct char *workgroup_name = dgram->dest_name.name; DEBUG(3,("process_announce_request: Announce request from %s IP %s to %s.\n", - namestr(&dgram->source_name), inet_ntoa(p->ip), - namestr(&dgram->dest_name))); + nmb_namestr(&dgram->source_name), inet_ntoa(p->ip), + nmb_namestr(&dgram->dest_name))); /* We only send announcement requests on our workgroup. */ if(strequal(workgroup_name, global_myworkgroup) == False) @@ -794,8 +794,8 @@ void process_lm_announce_request(struct subnet_record *subrec, struct packet_str char *workgroup_name = dgram->dest_name.name; DEBUG(3,("process_lm_announce_request: Announce request from %s IP %s to %s.\n", - namestr(&dgram->source_name), inet_ntoa(p->ip), - namestr(&dgram->dest_name))); + nmb_namestr(&dgram->source_name), inet_ntoa(p->ip), + nmb_namestr(&dgram->dest_name))); /* We only send announcement requests on our workgroup. */ if(strequal(workgroup_name, global_myworkgroup) == False) |