SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,19 @@
Index: dccp/dccp.h
--- dccp/dccp.h.orig
+++ dccp/dccp.h
@@ -172,11 +172,11 @@ class DCCPAgent : public Agent { (private)
RNG* nonces_; //random number generator
//string representation of types
- static char* state_str_[DCCP_NUM_STATES];
+ static const char* state_str_[DCCP_NUM_STATES];
static int hdr_size_[DCCP_NUM_PTYPES];
- static char* ptype_str_[DCCP_NUM_PTYPES];
- static char* reset_reason_str_[DCCP_NUM_RESET_REASONS];
- static char* feature_location_str_[DCCP_NUM_FEAT_LOCS];
+ static const char* ptype_str_[DCCP_NUM_PTYPES];
+ static const char* reset_reason_str_[DCCP_NUM_RESET_REASONS];
+ static const char* feature_location_str_[DCCP_NUM_FEAT_LOCS];
bool server_; //true if this agent i a server
dccp_state state_; //current protocol state