From ed05e4c04b2082b7d02e7bf3aff2752bdcf2a68b Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 2 Oct 2024 10:01:47 -0400 Subject: [PATCH] MT#60476 store full attribute type in `sdp_attr` Change-Id: I1e4bd5ae2e3eef383733616c21b3669c8ab5ab94 --- daemon/sdp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/sdp.c b/daemon/sdp.c index 17880a24b..e25a9802c 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -293,6 +293,7 @@ struct sdp_attribute { struct sdp_attr { struct sdp_attribute_strs strs; + enum attr_id attr; enum attribute_other other; }; @@ -1759,6 +1760,7 @@ static struct sdp_attr *sdp_attr_dup(const struct sdp_attribute *c) { ac->strs.name = call_str_cpy(&c->strs.name); ac->strs.value = call_str_cpy(&c->strs.value); ac->other = c->other; + ac->attr = c->attr; return ac; }