diff --git a/mud.c b/mud.c index 7244dc8..bce2645 100644 --- a/mud.c +++ b/mud.c @@ -785,7 +785,7 @@ mud_set_aes(struct mud *mud) } struct mud * -mud_create(int port, int v4, int v6, int mtu) +mud_create(int port, int v4, int v6) { uint64_t now = mud_now(); @@ -812,7 +812,6 @@ mud_create(int port, int v4, int v6, int mtu) mud->tc = MUD_PACKET_TC; randombytes_buf(mud->kiss, sizeof(mud->kiss)); - mud_set_mtu(mud, mtu); return mud; } diff --git a/mud.h b/mud.h index ab2de8a..a1c40e8 100644 --- a/mud.h +++ b/mud.h @@ -4,7 +4,7 @@ struct mud; -struct mud *mud_create (int, int, int, int); +struct mud *mud_create (int, int, int); void mud_delete (struct mud *); int mud_get_fd (struct mud *);