summaryrefslogtreecommitdiffstats
path: root/src/stateless/dp/trex_stream_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stateless/dp/trex_stream_node.h')
-rw-r--r--src/stateless/dp/trex_stream_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stateless/dp/trex_stream_node.h b/src/stateless/dp/trex_stream_node.h
index 1ae8cbbc..fc7d7a44 100644
--- a/src/stateless/dp/trex_stream_node.h
+++ b/src/stateless/dp/trex_stream_node.h
@@ -289,7 +289,7 @@ public:
}
/* prefix header exits only in non cache mode size is 64/128/512 other are not possible right now */
- inline void alloc_prefix_header(uint8_t size){
+ inline void alloc_prefix_header(uint16_t size){
set_prefix_header_size(size);
m_original_packet_data_prefix = (uint8_t *)malloc(size);
assert(m_original_packet_data_prefix);