From f0a6c417e65393d127a9f0fe0ba668ec2d2fdf3b Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Wed, 10 Mar 1999 03:07:48 +0000 Subject: [PATCH] fix compile problems on OSF/1 --- pppd/sys-osf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pppd/sys-osf.c b/pppd/sys-osf.c index 91470ae..c748720 100644 --- a/pppd/sys-osf.c +++ b/pppd/sys-osf.c @@ -26,10 +26,9 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-osf.c,v 1.16 1999/03/08 04:49:12 paulus Exp $"; +static char rcsid[] = "$Id: sys-osf.c,v 1.17 1999/03/10 03:07:48 paulus Exp $"; #endif -#define _SOCKADDR_LEN #include #include #include @@ -1517,7 +1516,8 @@ int have_route_to(u_int32_t addr) int s, n; struct rt_msghdr *rtm; struct sockaddr_in *sin; - int msglen = sizeof(*rtm) + (sizeof(*sin)) ; + int msglen = sizeof(*rtm) + (sizeof(*sin)); + char *cp; char msg[2048]; rtm = (struct rt_msghdr *)buf; -- 2.39.2