ports/net/ns/patches/patch-dccp_dccp_ackv_h

13 lines
419 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: dccp/dccp_ackv.h
--- dccp/dccp_ackv.h.orig
+++ dccp/dccp_ackv.h
@@ -64,7 +64,7 @@ struct dccp_ackv_hist_entry {
class DCCPAckVector {
private:
//packet state names
- static char* packet_state_str_[DCCP_NUM_PACKET_STATES];
+ static const char* packet_state_str_[DCCP_NUM_PACKET_STATES];
u_char* vector_; //the real ack vector as a byte array
u_int16_t size_; //current size of vector