Skip to content

Commit 25c4a44

Browse files
author
Xeno Kovah
committed
Better default, because 0 is a invalid id per the spec. This makes it so people don't need to override the default.
1 parent 0648c0d commit 25c4a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scapy/layers/bluetooth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class L2CAP_CmdHdr(Packet):
330330
24: "credit_based_conn_resp",
331331
25: "credit_based_reconf_req",
332332
26: "credit_based_reconf_resp"}),
333-
ByteField("id", 0),
333+
ByteField("id", 1),
334334
LEShortField("len", None)]
335335

336336
def post_build(self, p, pay):

0 commit comments

Comments
 (0)