Add missing udp option

This commit is contained in:
Norman Maurer 2013-01-19 16:50:13 +01:00
parent b60e0b6a51
commit d8f0e3fdf7

View File

@ -125,6 +125,8 @@ public class DefaultDatagramChannelConfig extends DefaultChannelConfig implement
setTimeToLive((Integer) value);
} else if (option == IP_TOS) {
setTrafficClass((Integer) value);
} else if (option == UDP_RECEIVE_PACKET_SIZE) {
setReceivePacketSize((Integer) value);
} else {
return super.setOption(option, value);
}