X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=pppd%2Fsys-osf.c;h=c748720264b71f0a7ab5d849515db4f3dd3a137a;hb=f0a6c417e65393d127a9f0fe0ba668ec2d2fdf3b;hp=91470ae144bf939b35a064083d1ddb263c266325;hpb=6d89f8d2a2b827a1165e99ea683e6c859e98693e;p=ppp.git 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;