summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source4/nbt_server/dgram/browse.c2
-rw-r--r--source4/nbt_server/dgram/request.c6
-rw-r--r--source4/nbt_server/irpc.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/source4/nbt_server/dgram/browse.c b/source4/nbt_server/dgram/browse.c
index 83ed92d4c5..84f5a5b4ff 100644
--- a/source4/nbt_server/dgram/browse.c
+++ b/source4/nbt_server/dgram/browse.c
@@ -31,7 +31,7 @@
*/
void nbtd_mailslot_browse_handler(struct dgram_mailslot_handler *dgmslot,
struct nbt_dgram_packet *packet,
- struct nbt_peer_socket *src)
+ const struct nbt_peer_socket *src)
{
DEBUG(2,("Browse request on '%s' from %s:%d\n",
dgmslot->mailslot_name, src->addr, src->port));
diff --git a/source4/nbt_server/dgram/request.c b/source4/nbt_server/dgram/request.c
index 8ccdeabf71..9517ab2387 100644
--- a/source4/nbt_server/dgram/request.c
+++ b/source4/nbt_server/dgram/request.c
@@ -44,10 +44,10 @@ static const struct {
are handled in the specific mailslot handlers
*/
void dgram_request_handler(struct nbt_dgram_socket *dgmsock,
- struct nbt_dgram_packet *packet,
- const char *src_address, int src_port)
+ struct nbt_dgram_packet *packet,
+ const struct nbt_peer_socket *src)
{
- DEBUG(0,("General datagram request from %s:%d\n", src_address, src_port));
+ DEBUG(0,("General datagram request from %s:%d\n", src->addr, src->port));
NDR_PRINT_DEBUG(nbt_dgram_packet, packet);
}
diff --git a/source4/nbt_server/irpc.c b/source4/nbt_server/irpc.c
index c5d7a83d83..75a950b5c4 100644
--- a/source4/nbt_server/irpc.c
+++ b/source4/nbt_server/irpc.c
@@ -57,7 +57,7 @@ struct getdc_state {
static void getdc_recv_ntlogon_reply(struct dgram_mailslot_handler *dgmslot,
struct nbt_dgram_packet *packet,
- const char *src_address, int src_port)
+ const struct nbt_peer_socket *src)
{
struct getdc_state *s =
talloc_get_type(dgmslot->private, struct getdc_state);