From a7512aefd802b9eab8fb59804e171410d0b5e3ad Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Tue, 25 Jan 2000 01:50:12 +0000 Subject: [PATCH] Set a somewhat arbitrary limit on the number of host aliases we'll return. --- lib/lwres/include/lwres/lwres.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lwres/include/lwres/lwres.h b/lib/lwres/include/lwres/lwres.h index 203af58847..f92963adf5 100644 --- a/lib/lwres/include/lwres/lwres.h +++ b/lib/lwres/include/lwres/lwres.h @@ -167,6 +167,8 @@ typedef struct { #define LWRES_ADDRTYPE_V4 0x00000001U /* ipv4 */ #define LWRES_ADDRTYPE_V6 0x00000002U /* ipv6 */ +#define LWRES_MAX_ALIASES 16 /* max # of aliases */ + ISC_LANG_BEGINDECLS int