Skip to content

Commit

Permalink
PMTU in defs
Browse files Browse the repository at this point in the history
  • Loading branch information
latysheff committed Jul 2, 2019
1 parent fb18945 commit 0d3e9da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/association.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Association extends EventEmitter {
this.rto_min = defs.NET_SCTP.rto_min
this.rto_max = defs.NET_SCTP.rto_max

const PMTU = 1500 // TODO
const PMTU = defs.NET_SCTP.PMTU || 1500 // TODO

this.peer_rwnd = 0

Expand Down
3 changes: 2 additions & 1 deletion lib/defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const NET_SCTP = {
max_init_retransmits: 8,
hb_interval: 30000,
sack_timeout: 180,
sack_freq: 2
sack_freq: 2,
PMTU: 1500
}

const CAUSE_CODES = {
Expand Down

0 comments on commit 0d3e9da

Please sign in to comment.