diff options
Diffstat (limited to 'source4/nbt_server')
-rw-r--r-- | source4/nbt_server/dgram/netlogon.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source4/nbt_server/dgram/netlogon.c b/source4/nbt_server/dgram/netlogon.c index 1a0b9eeb491..879e21dc638 100644 --- a/source4/nbt_server/dgram/netlogon.c +++ b/source4/nbt_server/dgram/netlogon.c @@ -36,8 +36,7 @@ /* reply to a GETDC request */ -static void nbtd_netlogon_getdc(struct dgram_mailslot_handler *dgmslot, - struct nbtd_interface *iface, +static void nbtd_netlogon_getdc(struct nbtd_interface *iface, struct nbt_dgram_packet *packet, const struct socket_address *src, struct nbt_netlogon_packet *netlogon) @@ -90,8 +89,7 @@ static void nbtd_netlogon_getdc(struct dgram_mailslot_handler *dgmslot, /* reply to a ADS style GETDC request */ -static void nbtd_netlogon_samlogon(struct dgram_mailslot_handler *dgmslot, - struct nbtd_interface *iface, +static void nbtd_netlogon_samlogon(struct nbtd_interface *iface, struct nbt_dgram_packet *packet, const struct socket_address *src, struct nbt_netlogon_packet *netlogon) @@ -177,12 +175,10 @@ void nbtd_mailslot_netlogon_handler(struct dgram_mailslot_handler *dgmslot, switch (netlogon->command) { case LOGON_PRIMARY_QUERY: - nbtd_netlogon_getdc(dgmslot, iface, packet, - src, netlogon); + nbtd_netlogon_getdc(iface, packet, src, netlogon); break; case LOGON_SAM_LOGON_REQUEST: - nbtd_netlogon_samlogon(dgmslot, iface, packet, - src, netlogon); + nbtd_netlogon_samlogon(iface, packet, src, netlogon); break; default: DEBUG(2,("unknown netlogon op %d from %s:%d\n", |