16 lines
425 B
Diff
16 lines
425 B
Diff
diff --git a/ipp.go b/ipp.go
|
|
index e707665..c9bffcb 100644
|
|
--- a/ipp.go
|
|
+++ b/ipp.go
|
|
@@ -168,9 +168,7 @@ func ippGetPrinterAttributes(log *LogMessage, c *http.Client,
|
|
return
|
|
}
|
|
|
|
- err = msg.DecodeBytesEx(respData,
|
|
- goipp.DecoderOptions{EnableWorkarounds: true})
|
|
-
|
|
+ err = msg.DecodeBytes(respData)
|
|
if err != nil {
|
|
log.Debug(' ', "Failed to decode IPP message: %s", err)
|
|
log.HexDump(LogTraceIPP, ' ', respData)
|