summaryrefslogtreecommitdiff
path: root/usr.sbin/slaacctl
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-05-27 10:40:44 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-05-27 10:40:44 +0000
commit7a50adb9d83eaa993e983dd57c5f89bd66e5cd36 (patch)
treea5499f92f73eb250715b19ef950921ddda3f4bdc /usr.sbin/slaacctl
parent5ac785e8689487e45770573361d2f25609daa87e (diff)
no longer carry addresses in struct radv_prefix
Diffstat (limited to 'usr.sbin/slaacctl')
-rw-r--r--usr.sbin/slaacctl/slaacctl.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/usr.sbin/slaacctl/slaacctl.c b/usr.sbin/slaacctl/slaacctl.c
index ffbd8775cfb..1ab42a92c00 100644
--- a/usr.sbin/slaacctl/slaacctl.c
+++ b/usr.sbin/slaacctl/slaacctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slaacctl.c,v 1.1 2017/04/10 13:35:42 florian Exp $ */
+/* $OpenBSD: slaacctl.c,v 1.2 2017/05/27 10:40:43 florian Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -233,23 +233,6 @@ show_interface_msg(struct imsg *imsg)
cei_ra_prefix->autonomous ? 1 : 0);
printf("\t\t\tvltime: %9u, pltime: %9u\n",
cei_ra_prefix->vltime, cei_ra_prefix->pltime);
- if (getnameinfo((struct sockaddr *)&cei_ra_prefix->addr,
- cei_ra_prefix->addr.sin6_len, hbuf, sizeof(hbuf), NULL, 0,
- NI_NUMERICHOST | NI_NUMERICSERV))
- err(1, "cannot generated address");
- printf("\t\t\t address: %s\n", hbuf);
- if (!IN6_IS_ADDR_UNSPECIFIED(
- &cei_ra_prefix->priv_addr.sin6_addr)) {
- if (getnameinfo((struct sockaddr *)
- &cei_ra_prefix->priv_addr,
- cei_ra_prefix->priv_addr.sin6_len, hbuf,
- sizeof(hbuf), NULL, 0, NI_NUMERICHOST |
- NI_NUMERICSERV))
- err(1, "cannot generated address");
- printf("\t\t\tprivacy address: %s\n", hbuf);
- }
- printf("\t\t\t mask: %s\n", inet_ntop(AF_INET6,
- &cei_ra_prefix->mask, ntopbuf, INET6_ADDRSTRLEN));
break;
case IMSG_CTL_SHOW_INTERFACE_INFO_RA_RDNS:
cei_ra_rdns = imsg->data;