diff options
-rw-r--r-- | gatchat/ppp_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/ppp_net.c b/gatchat/ppp_net.c index b4ff022f..afebf583 100644 --- a/gatchat/ppp_net.c +++ b/gatchat/ppp_net.c @@ -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; |