Skip to content

Commit

Permalink
增加IP输入日志
Browse files Browse the repository at this point in the history
  • Loading branch information
zongke committed Jun 29, 2022
1 parent 8eb09b7 commit 61f45b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,12 @@ func (mb *client) send(request *ProtocolDataUnit) (response *ProtocolDataUnit, e
if err != nil {
return
}
klog.V(1).Info("Send request:", aduRequest)
klog.V(1).Info("Send request: %s to device: %s", aduRequest, mb.device)
aduResponse, err := mb.transporter.Send(aduRequest)
if err != nil {
return
}
klog.V(1).Info("Send response:", aduResponse)
klog.V(1).Info("Send response: %s to device: %s", aduResponse, mb.device)
if err = mb.packager.Verify(aduRequest, aduResponse); err != nil {
return
}
Expand Down

0 comments on commit 61f45b7

Please sign in to comment.