Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/route6d pullup 1.6 -> 1.7 (approved by releng-...
details: https://anonhg.NetBSD.org/src/rev/ef976900f5d2
branches: netbsd-1-5
changeset: 489088:ef976900f5d2
user: itojun <itojun%NetBSD.org@localhost>
date: Sun Aug 13 00:52:50 2000 +0000
description:
pullup 1.6 -> 1.7 (approved by releng-1-5)
fix LP64 problem in routing message parsing.
diffstat:
usr.sbin/route6d/route6d.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r c2ad90b1bf3c -r ef976900f5d2 usr.sbin/route6d/route6d.c
--- a/usr.sbin/route6d/route6d.c Sat Aug 12 21:41:58 2000 +0000
+++ b/usr.sbin/route6d/route6d.c Sun Aug 13 00:52:50 2000 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: route6d.c,v 1.13.4.2 2000/07/15 08:52:28 itojun Exp $ */
-/* $KAME: route6d.c,v 1.32 2000/07/15 04:50:43 itojun Exp $ */
+/* $NetBSD: route6d.c,v 1.13.4.3 2000/08/13 00:52:50 itojun Exp $ */
+/* $KAME: route6d.c,v 1.35 2000/08/13 00:39:44 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: route6d.c,v 1.13.4.2 2000/07/15 08:52:28 itojun Exp $");
+__RCSID("$NetBSD: route6d.c,v 1.13.4.3 2000/08/13 00:52:50 itojun Exp $");
#endif
#include <stdio.h>
@@ -2252,7 +2252,7 @@
if ((rtm->rtm_addrs & RTA_DST) == 0)
return; /* ignore routes without destination address */
sin6_dst = (struct sockaddr_in6 *)rtmp;
- rtmp += sin6_dst->sin6_len;
+ rtmp += ROUNDUP(sin6_dst->sin6_len);
if (rtm->rtm_addrs & RTA_GATEWAY) {
sin6_gw = (struct sockaddr_in6 *)rtmp;
rtmp += ROUNDUP(sin6_gw->sin6_len);
Home |
Main Index |
Thread Index |
Old Index