diff options
author | Volker Lendecke <vl@samba.org> | 2011-04-25 11:24:31 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-04-25 11:47:27 +0200 |
commit | 60e8e33414f7dee8deb99b276182975b234bed0d (patch) | |
tree | efe6fd1698a4bad9faab994eff09ca38a680d70c | |
parent | 4f6b1e8c81776cf1fa386574e60e54fe6b4fe82e (diff) | |
download | samba-60e8e33414f7dee8deb99b276182975b234bed0d.tar.gz samba-60e8e33414f7dee8deb99b276182975b234bed0d.tar.bz2 samba-60e8e33414f7dee8deb99b276182975b234bed0d.zip |
s3: "port" is not used in dsgetdcname
Günther, please check!
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index e062818dda..2a4709a02b 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -32,7 +32,6 @@ struct ip_service_name { struct sockaddr_storage ss; - unsigned port; const char *hostname; }; @@ -514,7 +513,6 @@ static NTSTATUS discover_dc_netbios(TALLOC_CTX *mem_ctx, &iplist[i].ss); r->ss = iplist[i].ss; - r->port = iplist[i].port; r->hostname = talloc_strdup(mem_ctx, addr); if (!r->hostname) { SAFE_FREE(iplist); @@ -598,7 +596,6 @@ static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx, struct ip_service_name *r = &dclist[count]; - r->port = dcs[i].port; r->hostname = dcs[i].hostname; /* If we don't have an IP list for a name, lookup it up */ |