diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-07-30 19:17:51 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-07-30 19:17:51 +0000 |
commit | 75bbf35a8626ea30ac31546d0ceb9e2801ab7eae (patch) | |
tree | 536fbc1c6e99b6ca27dd95b85b58bc9b47297140 /source3/nameannounce.c | |
parent | 01d19fd31dcb2e728ce2c5289f13a03319f6f502 (diff) | |
download | samba-75bbf35a8626ea30ac31546d0ceb9e2801ab7eae.tar.gz samba-75bbf35a8626ea30ac31546d0ceb9e2801ab7eae.tar.bz2 samba-75bbf35a8626ea30ac31546d0ceb9e2801ab7eae.zip |
client.c: Minor change to cast parameters for DEC unix.
clientutil.c: Minor change to cast parameters for DEC unix.
ipc.c: Fixes to parameterise the stuff John wants.
loadparm.c: Fixes to parameterise the stuff John wants.
nameannounce.c: Fixes to parameterise the stuff John wants.
namedbwork.c: Fixes to parameterise the stuff John wants.
nameserv.h: Fixes to parameterise the stuff John wants.
proto.h: Fixes to parameterise the stuff John wants.
smb.h: Fixes to parameterise the stuff John wants.
util.c: tidy.
Jeremy (jallison@whistle.com)
(This used to be commit 9fbca2594ba775450d5dca13cbce257b4362ca66)
Diffstat (limited to 'source3/nameannounce.c')
-rw-r--r-- | source3/nameannounce.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nameannounce.c b/source3/nameannounce.c index a8fdde19bb..e92e989c31 100644 --- a/source3/nameannounce.c +++ b/source3/nameannounce.c @@ -165,8 +165,8 @@ void do_announce_host(int command, StrnCpy(p+5,server_name,16); strupper(p+5); - CVAL(p,21) = MAJOR_VERSION; /* major version */ - CVAL(p,22) = MINOR_VERSION; /* minor version */ + CVAL(p,21) = lp_major_announce_version(); /* major version */ + CVAL(p,22) = lp_minor_announce_version(); /* minor version */ SIVAL(p,23,server_type & ~SV_TYPE_LOCAL_LIST_ONLY); /* browse version: got from NT/AS 4.00 - Value defined in smb.h (JHT)*/ @@ -485,7 +485,7 @@ void announce_remote(time_t t) pstring s2; struct in_addr addr; char *comment,*workgroup; - int stype = DFLT_SERVER_TYPE; + int stype = lp_default_server_announce(); if (last_time && t < last_time + REMOTE_ANNOUNCE_INTERVAL) return; |