SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
19
net/ns/patches/patch-dccp_dccp_h
Normal file
19
net/ns/patches/patch-dccp_dccp_h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue