diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-05-05 11:14:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:31 -0500 |
commit | 7fc9f653182d69549844bfad9778c977fa13f1e9 (patch) | |
tree | 28c541648e3a3bae7c6e96d0e4e3e3850a35c534 | |
parent | aed008c98988d70564f621c48b8ee51bdafaaf91 (diff) | |
download | samba-7fc9f653182d69549844bfad9778c977fa13f1e9.tar.gz samba-7fc9f653182d69549844bfad9778c977fa13f1e9.tar.bz2 samba-7fc9f653182d69549844bfad9778c977fa13f1e9.zip |
r6618: only print the netlogon packets we receive if it is an unknown packet type
(This used to be commit 8229fe4dd5f4eb89eb19fa02eedc7f00a31b204e)
-rw-r--r-- | source4/nbt_server/dgram/netlogon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/nbt_server/dgram/netlogon.c b/source4/nbt_server/dgram/netlogon.c index e3f52928bf..eedb7405a5 100644 --- a/source4/nbt_server/dgram/netlogon.c +++ b/source4/nbt_server/dgram/netlogon.c @@ -185,8 +185,6 @@ void nbtd_mailslot_netlogon_handler(struct dgram_mailslot_handler *dgmslot, status = dgram_mailslot_netlogon_parse(dgmslot, netlogon, packet, netlogon); if (!NT_STATUS_IS_OK(status)) goto failed; - NDR_PRINT_DEBUG(nbt_netlogon_packet, netlogon); - switch (netlogon->command) { case NETLOGON_QUERY_FOR_PDC: nbtd_netlogon_getdc(dgmslot, packet, src_address, src_port, netlogon); @@ -197,6 +195,7 @@ void nbtd_mailslot_netlogon_handler(struct dgram_mailslot_handler *dgmslot, default: DEBUG(2,("unknown netlogon op %d from %s:%d\n", netlogon->command, src_address, src_port)); + NDR_PRINT_DEBUG(nbt_netlogon_packet, netlogon); break; } |