summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sdp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sdp.c b/src/sdp.c
index 26f01eac..f961c7d3 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -2720,6 +2720,11 @@ static int gen_attridseq_pdu(uint8_t *dst, const sdp_list_t *seq, uint8_t dataTy
return gen_dataseq_pdu(dst, seq, dataType);
}
+typedef struct {
+ uint8_t length;
+ unsigned char data[16];
+} __attribute__ ((packed)) sdp_cstate_t;
+
static int copy_cstate(uint8_t *pdata, const sdp_cstate_t *cstate)
{
if (cstate) {