Minor refactoring in variable naming in sctp stream config
This commit is contained in:
parent
276d619afb
commit
e062f7f6f9
@ -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> minMax = (List<Integer>) value;
|
||||
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams.create(minMax.get(0), minMax.get(1)));
|
||||
List<Integer> streams = (List<Integer>) value;
|
||||
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams.create(streams.get(0), streams.get(1)));
|
||||
} else {
|
||||
return super.setOption(option, value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user