diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/dgram/netlogon.c | 6 | ||||
-rw-r--r-- | source4/libcli/dgram/ntlogon.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source4/libcli/dgram/netlogon.c b/source4/libcli/dgram/netlogon.c index 208117845bd..6e939725d0a 100644 --- a/source4/libcli/dgram/netlogon.c +++ b/source4/libcli/dgram/netlogon.c @@ -109,9 +109,9 @@ NTSTATUS dgram_mailslot_netlogon_parse(struct dgram_mailslot_handler *dgmslot, if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("Failed to parse netlogon packet of length %d\n", data.length)); -#if 0 - file_save("netlogon.dat", data.data, data.length); -#endif + if (DEBUGLVL(10)) { + file_save("netlogon.dat", data.data, data.length); + } } return status; } diff --git a/source4/libcli/dgram/ntlogon.c b/source4/libcli/dgram/ntlogon.c index 1c1f138b1e2..38651a4085a 100644 --- a/source4/libcli/dgram/ntlogon.c +++ b/source4/libcli/dgram/ntlogon.c @@ -109,9 +109,9 @@ NTSTATUS dgram_mailslot_ntlogon_parse(struct dgram_mailslot_handler *dgmslot, if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("Failed to parse ntlogon packet of length %d\n", data.length)); -#if 0 - file_save("ntlogon.dat", data.data, data.length); -#endif + if (DEBUGLVL(10)) { + file_save("ntlogon.dat", data.data, data.length); + } } return status; } |