diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-28 21:30:20 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-28 21:30:20 +0000 |
commit | 30c6e2bff10bcc21f60c21eb9d29068c6790aed4 (patch) | |
tree | 160b7cd24896186ded48d98dd67e701b7f1c7ff2 /usr.sbin/rad | |
parent | 6d982a342f98d6530a0f71d5f67313d5f2a07382 (diff) |
spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech
Diffstat (limited to 'usr.sbin/rad')
-rw-r--r-- | usr.sbin/rad/frontend.c | 6 | ||||
-rw-r--r-- | usr.sbin/rad/rad.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rad/frontend.c b/usr.sbin/rad/frontend.c index 211a3883117..66ebf0c8ff5 100644 --- a/usr.sbin/rad/frontend.c +++ b/usr.sbin/rad/frontend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: frontend.c,v 1.41 2022/10/15 13:26:15 florian Exp $ */ +/* $OpenBSD: frontend.c,v 1.42 2022/12/28 21:30:18 jmc Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -1243,7 +1243,7 @@ build_packet(struct ra_iface *ra_iface) /* scaled lifetime in units of 8 seconds */ sltime_plc = pref64->ltime / 8; sltime_plc = sltime_plc << 3; - /* encode prefix lenght in lower 3 bits */ + /* encode prefix length in lower 3 bits */ switch (pref64->prefixlen) { case 96: sltime_plc |= 0; @@ -1280,7 +1280,7 @@ build_packet(struct ra_iface *ra_iface) != 0) { memcpy(ra_iface->data, buf, len); ra_iface->datalen = len; - /* packet changed; tell engine to send new advertisments */ + /* packet changed; tell engine to send new advertisements */ if (event_initialized(&ra_iface->icmp6ev->ev)) frontend_imsg_compose_engine(IMSG_UPDATE_IF, 0, &ra_iface->if_index, sizeof(ra_iface->if_index)); diff --git a/usr.sbin/rad/rad.h b/usr.sbin/rad/rad.h index 3af48dda5ad..e939ec091e2 100644 --- a/usr.sbin/rad/rad.h +++ b/usr.sbin/rad/rad.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rad.h,v 1.23 2022/10/15 13:26:15 florian Exp $ */ +/* $OpenBSD: rad.h,v 1.24 2022/12/28 21:30:18 jmc Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -111,7 +111,7 @@ struct ra_prefix_conf { struct in6_addr prefix; /* prefix */ int prefixlen; /* prefix length */ uint32_t vltime; /* valid lifetime */ - uint32_t pltime; /* prefered lifetime */ + uint32_t pltime; /* preferred lifetime */ int lflag; /* on-link flag*/ int aflag; /* autonom. addr flag */ }; |