Revert "Minor refactoring in variable naming in sctp stream config"
This reverts commit e062f7f6f9
.
This commit is contained in:
parent
e062f7f6f9
commit
d83daf0530
@ -88,8 +88,8 @@ public class DefaultSctpChannelConfig extends DefaultChannelConfig implements Sc
|
||||
} else if (option == SCTP_NODELAY) {
|
||||
setSctpNoDelay((Boolean) value);
|
||||
} else if (option == SCTP_INIT_MAXSTREAMS) {
|
||||
List<Integer> streams = (List<Integer>) value;
|
||||
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams.create(streams.get(0), streams.get(1)));
|
||||
List<Integer> minMax = (List<Integer>) value;
|
||||
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams.create(minMax.get(0), minMax.get(1)));
|
||||
} else {
|
||||
return super.setOption(option, value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user