diff options
Diffstat (limited to 'src/lib/libc/net/gethostnamadr.c')
-rw-r--r-- | src/lib/libc/net/gethostnamadr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c index 66d7e5ccd4..d49b9cdd7d 100644 --- a/src/lib/libc/net/gethostnamadr.c +++ b/src/lib/libc/net/gethostnamadr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gethostnamadr.c,v 1.71 2007/05/16 04:14:23 ray Exp $ */ | 1 | /* $OpenBSD: gethostnamadr.c,v 1.72 2007/10/11 18:36:41 jakob Exp $ */ |
2 | /*- | 2 | /*- |
3 | * Copyright (c) 1985, 1988, 1993 | 3 | * Copyright (c) 1985, 1988, 1993 |
4 | * The Regents of the University of California. All rights reserved. | 4 | * The Regents of the University of California. All rights reserved. |
@@ -238,7 +238,7 @@ getanswer(const querybuf *answer, int anslen, const char *qname, int qtype) | |||
238 | cp += INT16SZ; /* len */ | 238 | cp += INT16SZ; /* len */ |
239 | if (cp >= eom) | 239 | if (cp >= eom) |
240 | break; | 240 | break; |
241 | if (type == T_SIG) { | 241 | if (type == T_SIG || type == T_RRSIG) { |
242 | /* XXX - ignore signatures as we don't use them yet */ | 242 | /* XXX - ignore signatures as we don't use them yet */ |
243 | cp += n; | 243 | cp += n; |
244 | continue; | 244 | continue; |