Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/route Include a few additional libc functions in rump.r...



details:   https://anonhg.NetBSD.org/src/rev/eb4db59412fd
branches:  trunk
changeset: 810713:eb4db59412fd
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon Sep 14 05:12:52 2015 +0000

description:
Include a few additional libc functions in rump.route to make it work with inet6

getaddrinfo and if_nametoindex are newly added to interpret interface names
in IPv6 link-local addresses. if_nametoindex looks not used in rump.route,
but it is needed because it is used indirectly from getaddrinfo.

>From s-yamaguchi@IIJ

diffstat:

 sbin/route/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 2faed669721a -r eb4db59412fd sbin/route/Makefile
--- a/sbin/route/Makefile       Mon Sep 14 01:40:03 2015 +0000
+++ b/sbin/route/Makefile       Mon Sep 14 05:12:52 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2015/05/15 06:58:59 ozaki-r Exp $
+#      $NetBSD: Makefile,v 1.29 2015/09/14 05:12:52 ozaki-r Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 .include <bsd.own.mk>
@@ -8,7 +8,8 @@
 SRCS=  route.c show.c keywords.c rtutil.c
 
 .PATH:         ${.CURDIR}/../../lib/libc/net
-RUMPSRCS= if_indextoname.c getifaddrs.c getnameinfo.c
+RUMPSRCS=      getaddrinfo.c getifaddrs.c getnameinfo.c
+RUMPSRCS+=     if_indextoname.c if_nametoindex.c
 .if (${MKRUMP} != "no")
 CPPFLAGS+= -DRUMP_ACTION
 .endif



Home | Main Index | Thread Index | Old Index