Skip to content

Commit 791e54f

Browse files
authored
fix: use forward tsn if matches ParamForwardTsnSupported
1 parent 8f67116 commit 791e54f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sctp/src/association/association_internal.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ mod association_internal_test;
33

44
use super::*;
55

6+
use crate::param::param_forward_tsn_supported::ParamForwardTsnSupported;
67
use crate::param::param_type::ParamType;
78
use crate::param::param_unrecognized::ParamUnrecognized;
89
use async_trait::async_trait;
@@ -769,6 +770,8 @@ impl AssociationInternal {
769770
self.use_forward_tsn = true;
770771
}
771772
}
773+
} else if let Some(_) = param.as_any().downcast_ref::<ParamForwardTsnSupported>() {
774+
self.use_forward_tsn = true;
772775
}
773776
}
774777
if !self.use_forward_tsn {

0 commit comments

Comments
 (0)