threadshare/udpsink: pass correct defaults to v6 bind properties

This commit is contained in:
Mathieu Duponchelle 2020-01-16 12:48:22 +01:00 committed by Sebastian Dröge
parent bcbf862ded
commit 03fda100d4

View file

@ -221,7 +221,7 @@ static PROPERTIES: [subclass::Property; 19] = [
name, name,
"Bind Address V6", "Bind Address V6",
"Address to bind the V6 socket to", "Address to bind the V6 socket to",
Some(DEFAULT_BIND_ADDRESS), Some(DEFAULT_BIND_ADDRESS_V6),
glib::ParamFlags::READWRITE, glib::ParamFlags::READWRITE,
) )
}), }),
@ -232,7 +232,7 @@ static PROPERTIES: [subclass::Property; 19] = [
"Port to bind the V6 socket to", "Port to bind the V6 socket to",
0, 0,
u16::MAX as u32, u16::MAX as u32,
DEFAULT_BIND_PORT, DEFAULT_BIND_PORT_V6,
glib::ParamFlags::READWRITE, glib::ParamFlags::READWRITE,
) )
}), }),