We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d1763c commit 149a93cCopy full SHA for 149a93c
1 file changed
scapy/contrib/automotive/bmw/hsfz.py
@@ -186,7 +186,7 @@ def send(self, x):
186
def recv(self, x=MTU, **kwargs):
187
# type: (Optional[int], **Any) -> Optional[Packet]
188
pkt = super(UDS_HSFZSocket, self).recv(x)
189
- if pkt:
+ if pkt and pkt.control == 1:
190
return self.outputcls(bytes(pkt.payload), **kwargs)
191
else:
192
return pkt
0 commit comments