summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/rtadvd.h
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2013-04-30 12:29:05 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2013-04-30 12:29:05 +0000
commit2c15cc194d9d762a602190f75f025166e6e994bf (patch)
tree47c781740e9cd298267e457749f025fdc84de81a /usr.sbin/rtadvd/rtadvd.h
parent15518391ee375c47892f56bd5880c04bbb571a30 (diff)
move variables to type time_t; fix format strings
test/ok sthen@
Diffstat (limited to 'usr.sbin/rtadvd/rtadvd.h')
-rw-r--r--usr.sbin/rtadvd/rtadvd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.h b/usr.sbin/rtadvd/rtadvd.h
index 34ffbaeeb80..653c899d9e6 100644
--- a/usr.sbin/rtadvd/rtadvd.h
+++ b/usr.sbin/rtadvd/rtadvd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtadvd.h,v 1.13 2012/07/11 10:40:47 phessler Exp $ */
+/* $OpenBSD: rtadvd.h,v 1.14 2013/04/30 12:29:04 florian Exp $ */
/* $KAME: rtadvd.h,v 1.20 2002/05/29 10:13:10 itojun Exp $ */
/*
@@ -72,9 +72,9 @@ struct prefix {
TAILQ_ENTRY(prefix) entry;
u_int32_t validlifetime; /* AdvValidLifetime */
- long vltimeexpire; /* expiration of vltime; decrement case only */
+ time_t vltimeexpire; /* expiration of vltime; decrement case only */
u_int32_t preflifetime; /* AdvPreferredLifetime */
- long pltimeexpire; /* expiration of pltime; decrement case only */
+ time_t pltimeexpire; /* expiration of pltime; decrement case only */
u_int onlinkflg; /* bool: AdvOnLinkFlag */
u_int autoconfflg; /* bool: AdvAutonomousFlag */
int prefixlen;