Add missing udp option
This commit is contained in:
parent
b60e0b6a51
commit
d8f0e3fdf7
@ -125,6 +125,8 @@ public class DefaultDatagramChannelConfig extends DefaultChannelConfig implement
|
|||||||
setTimeToLive((Integer) value);
|
setTimeToLive((Integer) value);
|
||||||
} else if (option == IP_TOS) {
|
} else if (option == IP_TOS) {
|
||||||
setTrafficClass((Integer) value);
|
setTrafficClass((Integer) value);
|
||||||
|
} else if (option == UDP_RECEIVE_PACKET_SIZE) {
|
||||||
|
setReceivePacketSize((Integer) value);
|
||||||
} else {
|
} else {
|
||||||
return super.setOption(option, value);
|
return super.setOption(option, value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user