summaryrefslogtreecommitdiffstats
path: root/source/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-02-24 17:59:34 +0000
committerJeremy Allison <jra@samba.org>1998-02-24 17:59:34 +0000
commit776ccf5c0641b5aa300236c2612b5f2761d1179f (patch)
tree9bca5ad7ff439f2d8b6c531ce63390b90e9198c5 /source/nmbd
parente58ab3bbe6e939ba678ad5482e58e0191c8dcbcb (diff)
downloadsamba-776ccf5c0641b5aa300236c2612b5f2761d1179f.tar.gz
samba-776ccf5c0641b5aa300236c2612b5f2761d1179f.tar.xz
samba-776ccf5c0641b5aa300236c2612b5f2761d1179f.zip
nmbd_incomingdgrams.c: Fix for typo.
nmbd_sendannounce.c: Remote announcement was announcing to the wrong name ! nmblookup.c: Fix for substitutions not seeing hostname. testparm.c: Fix for substitutions not seeing hostname. wsmbstatus.c: Fix for substitutions not seeing hostname. util.c: Change read_udp_socket to use sockaddr_in rather than dubiously messing around with an opaque data type (sockaddr). Jeremy.
Diffstat (limited to 'source/nmbd')
-rw-r--r--source/nmbd/nmbd_incomingdgrams.c4
-rw-r--r--source/nmbd/nmbd_sendannounce.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/nmbd/nmbd_incomingdgrams.c b/source/nmbd/nmbd_incomingdgrams.c
index 46d988e89af..80057ef12c9 100644
--- a/source/nmbd/nmbd_incomingdgrams.c
+++ b/source/nmbd/nmbd_incomingdgrams.c
@@ -449,8 +449,8 @@ void process_lm_host_announce(struct subnet_record *subrec, struct packet_struct
if ((osmajor < 36) || (osmajor > 38) || (osminor !=0))
{
- DEBUG(5,("process_lm_host_announce: LM Announcement packet does not " \
- "originate from OS/2 Warp client. Ignoring packet.\n"));
+ DEBUG(5,("process_lm_host_announce: LM Announcement packet does not \
+originate from OS/2 Warp client. Ignoring packet.\n"));
/* Could have been from a Windows machine (with its LM Announce enabled),
or a Samba server. Then don't disrupt the current browse list. */
return;
diff --git a/source/nmbd/nmbd_sendannounce.c b/source/nmbd/nmbd_sendannounce.c
index 62e5f02d8c8..e39e2514966 100644
--- a/source/nmbd/nmbd_sendannounce.c
+++ b/source/nmbd/nmbd_sendannounce.c
@@ -529,7 +529,7 @@ void announce_remote(time_t t)
send_announcement(FIRST_SUBNET, ANN_HostAnnouncement,
name, /* From nbt name. */
- wgroup, 0x1e, /* To nbt name. */
+ wgroup, 0x1d, /* To nbt name. */
addr, /* To ip. */
REMOTE_ANNOUNCE_INTERVAL, /* Time until next announce. */
name, /* Name to announce. */