ports/net/ns/patches/patch-dccp_dccp_ackv_cc

13 lines
388 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: dccp/dccp_ackv.cc
--- dccp/dccp_ackv.cc.orig
+++ dccp/dccp_ackv.cc
@@ -32,7 +32,7 @@
#include "dccp_ackv.h"
/* Static string representation of packet states */
-char* DCCPAckVector::packet_state_str_[DCCP_NUM_PACKET_STATES] =
+const char* DCCPAckVector::packet_state_str_[DCCP_NUM_PACKET_STATES] =
{"Received", "ECN-marked", "Reserved", "Not Received" };
//private methods