From 99e58e3f961f093a163b298c349013e6db9a8b6e Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 7 Aug 2005 16:00:01 +0000 Subject: [PATCH] add missing in6addr_linklocal_allrouters. --- lib/libc/include/namespace.h | 3 ++- lib/libc/net/vars6.c | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 71fd669d01de..39240c9e8eed 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.104 2005/07/30 15:21:20 christos Exp $ */ +/* $NetBSD: namespace.h,v 1.105 2005/08/07 16:00:01 christos Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -313,6 +313,7 @@ #define in6addr_linklocal_allnodes _in6addr_linklocal_allnodes #define in6addr_loopback _in6addr_loopback #define in6addr_nodelocal_allnodes _in6addr_nodelocal_allnodes +#define in6addr_nodelocal_allrouters _in6addr_nodelocal_allrouters #define inet6_option_alloc _inet6_option_alloc #define inet6_option_append _inet6_option_append #define inet6_option_find _inet6_option_find diff --git a/lib/libc/net/vars6.c b/lib/libc/net/vars6.c index 446a19778de4..09abc4c90fec 100644 --- a/lib/libc/net/vars6.c +++ b/lib/libc/net/vars6.c @@ -1,4 +1,4 @@ -/* $NetBSD: vars6.c,v 1.6 2003/05/10 08:51:54 uebayasi Exp $ */ +/* $NetBSD: vars6.c,v 1.7 2005/08/07 16:00:01 christos Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -31,7 +31,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: vars6.c,v 1.6 2003/05/10 08:51:54 uebayasi Exp $"); +__RCSID("$NetBSD: vars6.c,v 1.7 2005/08/07 16:00:01 christos Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -43,6 +43,7 @@ __weak_alias(in6addr_any, _in6addr_any) __weak_alias(in6addr_loopback, _in6addr_loopback) __weak_alias(in6addr_nodelocal_allnodes, _in6addr_nodelocal_allnodes) __weak_alias(in6addr_linklocal_allnodes, _in6addr_linklocal_allnodes) +__weak_alias(in6addr_linklocal_allrouters, _in6addr_linklocal_allrouters) #endif /* @@ -52,4 +53,5 @@ const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT; const struct in6_addr in6addr_nodelocal_allnodes = IN6ADDR_NODELOCAL_ALLNODES_INIT; const struct in6_addr in6addr_linklocal_allnodes = IN6ADDR_LINKLOCAL_ALLNODES_INIT; +const struct in6_addr in6addr_linklocal_allrouters = IN6ADDR_LINKLOCAL_ALLROUTERS_INIT;