From f35f3211790dfdd63ea1bf36af08e83f82d43c84 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Tue, 1 Jun 1999 01:43:34 +0000 Subject: [PATCH] buglet fixes --- pppd/sys-linux.c | 2 +- pppd/utils.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 0537e49..436a5f1 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -2402,7 +2402,7 @@ sys_check_options(void) */ if (ipxcp_protent.enabled_flag) { struct stat stat_buf; - if (path_to_procfs("/net/ipx_interface") + if (!path_to_procfs("/net/ipx_interface") || lstat (route_buffer, &stat_buf) < 0) { error("IPX support is not present in the kernel\n"); ipxcp_protent.enabled_flag = 0; diff --git a/pppd/utils.c b/pppd/utils.c index 0b1292d..8c81896 100644 --- a/pppd/utils.c +++ b/pppd/utils.c @@ -17,7 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ #ifndef lint -static char rcsid[] = "$Id: utils.c,v 1.4 1999/05/12 06:15:33 paulus Exp $"; +static char rcsid[] = "$Id: utils.c,v 1.5 1999/06/01 01:43:34 paulus Exp $"; #endif #include @@ -41,7 +41,7 @@ static char rcsid[] = "$Id: utils.c,v 1.4 1999/05/12 06:15:33 paulus Exp $"; #include #include #ifdef SVR4 -#include +#include #endif #include "pppd.h" -- 2.39.2