Add lacking property initializer.
authorAtsushi Eno <atsushi@ximian.com>
Fri, 10 Sep 2010 09:46:46 +0000 (18:46 +0900)
committerAtsushi Eno <atsushi@ximian.com>
Fri, 10 Sep 2010 09:46:46 +0000 (18:46 +0900)
mcs/class/System.ServiceModel.Discovery/System.ServiceModel.Discovery.Configuration/UdpTransportSettingsElement.cs

index 308d49f26e6a6688c1c46eea72c14d0086096162..8c9fee26e5b4ba7c492a5ed75343dfa4d217aad6 100644 (file)
@@ -44,6 +44,7 @@ namespace System.ServiceModel.Discovery.Configuration
                        max_received_message_size = new ConfigurationProperty ("maxReceivedMessageSize", typeof (long), 0xFFE7, null, new LongValidator (0, long.MaxValue), ConfigurationPropertyOptions.None);
                        max_unicast_retransmit_count = new ConfigurationProperty ("maxUnicastRetransmitCount", typeof (long), 1, null, new IntegerValidator (0, int.MaxValue), ConfigurationPropertyOptions.None);
                        multicast_interface_id = new ConfigurationProperty ("multicastInterfaceId", typeof (string), null, null, null, ConfigurationPropertyOptions.None);
+                       socket_receive_buffer_size = new ConfigurationProperty ("socketReceiveBufferSize", typeof (int), 0x10000, null, new IntegerValidator (0, int.MaxValue), ConfigurationPropertyOptions.None);
                        ttl = new ConfigurationProperty ("timeToLive", typeof (int), 1, null, new IntegerValidator (0, int.MaxValue), ConfigurationPropertyOptions.None);
                        properties = new ConfigurationPropertyCollection ();
                        ConfigurationProperty [] props = {duplicate_message_history_length, max_buffer_pool_size, max_multicast_retransmit_count, max_pending_message_count, max_received_message_size, max_unicast_retransmit_count, multicast_interface_id, ttl};