summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2012-07-11 10:40:48 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2012-07-11 10:40:48 +0000
commit82c7a9bd3850a0fa18e1c2c49ee3802aab6ed4fe (patch)
tree2d4fc421f2d840e3fd8106bf11423a7823931791 /usr.sbin
parent4756a0a6084eb304733b33dac7b9f1b95a730c99 (diff)
Unbreak the tree for gcc2 arches.
Instead of having no limit for some arrays, limit them to the number of acceptable options. pointed out by miod@
Diffstat (limited to 'usr.sbin')
-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 320b90b7104..34ffbaeeb80 100644
--- a/usr.sbin/rtadvd/rtadvd.h
+++ b/usr.sbin/rtadvd/rtadvd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtadvd.h,v 1.12 2012/07/08 10:46:00 phessler Exp $ */
+/* $OpenBSD: rtadvd.h,v 1.13 2012/07/11 10:40:47 phessler Exp $ */
/* $KAME: rtadvd.h,v 1.20 2002/05/29 10:13:10 itojun Exp $ */
/*
@@ -87,14 +87,14 @@ struct rdnss {
u_int32_t lifetime;
int servercnt;
- struct in6_addr servers[];
+ struct in6_addr servers[100];
};
struct dnssldom {
TAILQ_ENTRY(dnssldom) entry;
u_int32_t length;
- char domain[];
+ char domain[100];
};
struct dnssl {