fix new_on_port_std

This commit is contained in:
van Hauser 2020-12-20 16:45:26 +01:00
parent bd4181e3a9
commit 87192a23f2

View File

@ -742,7 +742,7 @@ where
/// Else, it will act as client. /// Else, it will act as client.
pub fn new_on_port_std(stats: ST) -> Result<Self, AflError> { pub fn new_on_port_std(stats: ST) -> Result<Self, AflError> {
Ok(Self { Ok(Self {
llmp: llmp::LlmpConnection::on_port(port)?, llmp: llmp::LlmpConnection::on_port(1337)?,
stats: stats, stats: stats,
phantom: PhantomData, phantom: PhantomData,
}) })