mirror of git://git.sysmocom.de/ofono
ppp: Accept 1500 byte MTUs
This commit is contained in:
parent
7d5a3730d1
commit
db0b7c8a98
|
@ -54,7 +54,7 @@ gboolean ppp_net_set_mtu(struct ppp_net *net, guint16 mtu)
|
|||
int sock;
|
||||
int rc;
|
||||
|
||||
if (net == NULL || mtu >= MAX_PACKET)
|
||||
if (net == NULL || mtu > MAX_PACKET)
|
||||
return FALSE;
|
||||
|
||||
net->mtu = mtu;
|
||||
|
|
Loading…
Reference in New Issue