prevent overflow of lifetime value. sync with kame

This commit is contained in:
itojun 2001-06-03 09:26:04 +00:00
parent 987416580a
commit dc1b085d64

View File

@ -1,5 +1,5 @@
/* $NetBSD: config.c,v 1.12 2001/02/05 06:04:41 itojun Exp $ */
/* $KAME: config.c,v 1.33 2001/02/05 05:52:13 k-sugyou Exp $ */
/* $NetBSD: config.c,v 1.13 2001/06/03 09:26:04 itojun Exp $ */
/* $KAME: config.c,v 1.47 2001/06/02 18:50:46 jinmei Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@ -93,7 +93,7 @@ getconfig(intface)
#define MUSTHAVE(var, cap) \
do { \
int t; \
long long t; \
if ((t = agetnum(cap)) < 0) { \
fprintf(stderr, "rtadvd: need %s for interface %s\n", \
cap, intface); \