From ddac8bbac4389ce20c2c81e2fdc88f0f1669e20c Mon Sep 17 00:00:00 2001 From: simonb Date: Tue, 22 Oct 2002 02:44:34 +0000 Subject: [PATCH] Oops, still need the call to va_arg() to advance the args pointer. --- sys/netinet/raw_ip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index 1f8a6b6b734f..66dc460e5ccb 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -1,4 +1,4 @@ -/* $NetBSD: raw_ip.c,v 1.63 2002/10/22 02:34:47 simonb Exp $ */ +/* $NetBSD: raw_ip.c,v 1.64 2002/10/22 02:44:34 simonb Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -65,7 +65,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.63 2002/10/22 02:34:47 simonb Exp $"); +__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.64 2002/10/22 02:44:34 simonb Exp $"); #include "opt_ipsec.h" #include "opt_mrouting.h" @@ -149,6 +149,7 @@ rip_input(m, va_alist) va_list ap; va_start(ap, m); + (void)va_arg(ap, int); /* ignore value, advance ap */ proto = va_arg(ap, int); va_end(ap);