summaryrefslogtreecommitdiffstats
path: root/gatchat/gatppp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r--gatchat/gatppp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index 705a298f..fc6769c3 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -411,7 +411,8 @@ void ppp_net_up_notify(GAtPPP *ppp, const char *ip,
{
ppp->net = ppp_net_new(ppp);
- ppp_net_set_mtu(ppp->net, ppp->mtu);
+ if (ppp_net_set_mtu(ppp->net, ppp->mtu) == FALSE)
+ g_printerr("Unable to set MTU\n");
if (ppp->connect_cb == NULL)
return;