aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-05-31 02:29:41 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2022-06-16 13:04:33 +0200
commit184360f3b7acb9a54173dc36a74d4302ed78a8a0 (patch)
treee5861431aa27b91e57a00e83ade7ae74d276f39c
parent75028467e71ee00d89abd52ebfd9971d96ea1c70 (diff)
pfcp ie: tweak CP Function Features
The spec indicates three bytes of CP Function Features, but both wireshark and ttcn3 expect only one byte. This makes sense because only eight CP F.F. flags are defined. Drop those two always-zero bytes, hence pass the wireshark dissector and ttcn3 parsing without warnings. Related: SYS#5599 Change-Id: Icda891a2f3401e58f142f229465403d5dc8befe5
-rw-r--r--include/osmocom/pfcp/pfcp_ies_custom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/pfcp/pfcp_ies_custom.h b/include/osmocom/pfcp/pfcp_ies_custom.h
index 9f26550..c28fdb2 100644
--- a/include/osmocom/pfcp/pfcp_ies_custom.h
+++ b/include/osmocom/pfcp/pfcp_ies_custom.h
@@ -73,7 +73,7 @@ struct osmo_pfcp_ie_up_function_features {
* printf("%s\n", osmo_pfcp_bits_to_str_c(x.bits, osmo_pfcp_cp_feature_strs));
*/
struct osmo_pfcp_ie_cp_function_features {
- uint8_t bits[3];
+ uint8_t bits[1];
};
/* 3GPP TS 29.244 8.2.37 */