summaryrefslogtreecommitdiff
path: root/usr.sbin/slaacctl
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2021-03-21 18:25:25 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2021-03-21 18:25:25 +0000
commit582ddfc3b5bb3c0f2a9d1460b89e904dbfa4fbd2 (patch)
treea7713151c1c6c4258c2c08df7f9c6d0d8c3cf412 /usr.sbin/slaacctl
parent476899496960ee25fc0163659937acb6dfe27c56 (diff)
Use new terminology of RFC 8981 and (mechanically) replace "privacy"
with "temporary".
Diffstat (limited to 'usr.sbin/slaacctl')
-rw-r--r--usr.sbin/slaacctl/slaacctl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/slaacctl/slaacctl.c b/usr.sbin/slaacctl/slaacctl.c
index 7dcffdb32d1..aa80b999c49 100644
--- a/usr.sbin/slaacctl/slaacctl.c
+++ b/usr.sbin/slaacctl/slaacctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slaacctl.c,v 1.21 2021/02/27 10:28:12 florian Exp $ */
+/* $OpenBSD: slaacctl.c,v 1.22 2021/03/21 18:25:24 florian Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -199,7 +199,8 @@ show_interface_msg(struct imsg *imsg)
printf("%s:\n", bufp != NULL ? bufp : "unknown");
printf("\t index: %3u ", cei->if_index);
printf("running: %3s ", cei->running ? "yes" : "no");
- printf("privacy: %3s\n", cei->autoconfprivacy ? "yes" : "no");
+ printf("temporary: %3s\n", cei->temporary ? "yes" :
+ "no");
printf("\tlladdr: %s\n", ether_ntoa(&cei->hw_address));
if (getnameinfo((struct sockaddr *)&cei->ll_address,
cei->ll_address.sin6_len, hbuf, sizeof(hbuf), NULL, 0,
@@ -272,9 +273,9 @@ show_interface_msg(struct imsg *imsg)
NULL, 0, NI_NUMERICHOST | NI_NUMERICSERV))
err(1, "cannot get proposal IP");
- printf("\t\tid: %4lld, state: %15s, privacy: %s\n",
+ printf("\t\tid: %4lld, state: %15s, temporary: %s\n",
cei_addr_proposal->id, cei_addr_proposal->state,
- cei_addr_proposal->privacy ? "y" : "n");
+ cei_addr_proposal->temporary ? "y" : "n");
if (clock_gettime(CLOCK_MONOTONIC, &now))
err(1, "clock_gettime");