Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rtadvd Remove dst variable that was only set but no...
details: https://anonhg.NetBSD.org/src/rev/5893d7e279fe
branches: trunk
changeset: 971316:5893d7e279fe
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Apr 21 12:23:13 2020 +0000
description:
Remove dst variable that was only set but not used.
(This broke the build for me.)
diffstat:
usr.sbin/rtadvd/rtadvd.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r ceabf9a156ed -r 5893d7e279fe usr.sbin/rtadvd/rtadvd.c
--- a/usr.sbin/rtadvd/rtadvd.c Tue Apr 21 12:21:27 2020 +0000
+++ b/usr.sbin/rtadvd/rtadvd.c Tue Apr 21 12:23:13 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtadvd.c,v 1.74 2020/04/21 12:21:27 wiz Exp $ */
+/* $NetBSD: rtadvd.c,v 1.75 2020/04/21 12:23:13 wiz Exp $ */
/* $KAME: rtadvd.c,v 1.92 2005/10/17 14:40:02 suz Exp $ */
/*
@@ -725,7 +725,6 @@
struct cmsghdr *cm;
struct in6_pktinfo *pi = NULL;
char ntopbuf[INET6_ADDRSTRLEN], ifnamebuf[IFNAMSIZ];
- struct in6_addr dst = in6addr_any;
struct rainfo *rai;
/*
@@ -750,7 +749,6 @@
cm->cmsg_len == CMSG_LEN(sizeof(struct in6_pktinfo))) {
pi = (struct in6_pktinfo *)(CMSG_DATA(cm));
ifindex = pi->ipi6_ifindex;
- dst = pi->ipi6_addr;
}
if (cm->cmsg_level == IPPROTO_IPV6 &&
cm->cmsg_type == IPV6_HOPLIMIT &&
Home |
Main Index |
Thread Index |
Old Index