summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/rtadvd.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-21 23:29:47 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-21 23:29:47 +0000
commit2fceb7bd90de7d129435d53c94a55c5a4126c027 (patch)
treee886704947393c2a2cdc94dae18e17570d8287dc /usr.sbin/rtadvd/rtadvd.h
parent928ec3c40ba5669e00b228da6d7b973c01279b5a (diff)
minor KNF. plug a memory leak on reconfig.
Diffstat (limited to 'usr.sbin/rtadvd/rtadvd.h')
-rw-r--r--usr.sbin/rtadvd/rtadvd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.h b/usr.sbin/rtadvd/rtadvd.h
index 6636573376c..01914adf8d0 100644
--- a/usr.sbin/rtadvd/rtadvd.h
+++ b/usr.sbin/rtadvd/rtadvd.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: rtadvd.h,v 1.7 2002/02/16 21:28:08 millert Exp $ */
-/* $KAME: rtadvd.h,v 1.14 2000/11/11 06:57:22 jinmei Exp $ */
+/* $OpenBSD: rtadvd.h,v 1.8 2002/05/21 23:29:46 itojun Exp $ */
+/* $KAME: rtadvd.h,v 1.19 2001/12/20 02:09:37 k-sugyou Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -53,7 +53,7 @@
#define MAXROUTERLIFETIME 9000
#define MIN_MAXINTERVAL (mobileip6 ? 1.5 : 4.0)
#define MAX_MAXINTERVAL 1800
-#define MIN_MININTERVAL (mobileip6 ? 0.5 : 3)
+#define MIN_MININTERVAL (mobileip6 ? 0.05 : 3.0)
#define MAXREACHABLETIME 3600000
#ifndef MIP6
@@ -151,6 +151,7 @@ void ra_timer_update(void *, struct timeval *);
int prefix_match(struct in6_addr *, int, struct in6_addr *, int);
struct rainfo *if_indextorainfo(int);
+struct prefix *find_prefix(struct rainfo *, struct in6_addr *, int);
extern struct in6_addr in6a_site_allrouters;
#ifdef MIP6