From 8fb5d170e2767592fbe0b21b7c6e81e5fbc43785 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 9 Feb 2011 19:20:53 +0100 Subject: [PATCH] rbs_sabm: reserve space for checksum in SABM command (Thanks Matthew) --- rbs_lapd/rbs_sabm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbs_lapd/rbs_sabm.c b/rbs_lapd/rbs_sabm.c index d71ef49..9605f3b 100644 --- a/rbs_lapd/rbs_sabm.c +++ b/rbs_lapd/rbs_sabm.c @@ -7,7 +7,7 @@ /* this program wants to be called with 'strace -s1024 -x' so you see the data * betewen DAHDI and it */ -const uint8_t sabme_frame_nonraw[] = { 0xFA, 0x7D, 0x7F }; +const uint8_t sabme_frame_nonraw[] = { 0xFA, 0x7D, 0x7F, 0x00, 0x00 }; static int fd; static uint8_t dummy_buf[8192];