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/relayd | |
parent | 6d982a342f98d6530a0f71d5f67313d5f2a07382 (diff) |
spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r-- | usr.sbin/relayd/relay.c | 6 | ||||
-rw-r--r-- | usr.sbin/relayd/relay_udp.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c index da4a1aa0cc1..7491570445d 100644 --- a/usr.sbin/relayd/relay.c +++ b/usr.sbin/relayd/relay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay.c,v 1.254 2021/03/24 20:59:53 benno Exp $ */ +/* $OpenBSD: relay.c,v 1.255 2022/12/28 21:30:18 jmc Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -1441,7 +1441,7 @@ relay_session(struct rsession *con) * Call the UDP protocol-specific handler */ if (rlay->rl_proto->request == NULL) - fatalx("invalide UDP session"); + fatalx("invalid UDP session"); if ((*rlay->rl_proto->request)(con) == -1) relay_close(con, "session failed", 1); return; @@ -2090,7 +2090,7 @@ relay_tls_ctx_create_proto(struct protocol *proto, struct tls_config *tls_cfg) /* * Set session ID context to a random value. It needs to be the - * same accross all relay processes or session caching will fail. + * same across all relay processes or session caching will fail. */ if (tls_config_set_session_id(tls_cfg, env->sc_conf.tls_sid, sizeof(env->sc_conf.tls_sid)) == -1) { diff --git a/usr.sbin/relayd/relay_udp.c b/usr.sbin/relayd/relay_udp.c index 74d55feb794..e165bd7f5c1 100644 --- a/usr.sbin/relayd/relay_udp.c +++ b/usr.sbin/relayd/relay_udp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay_udp.c,v 1.49 2018/08/06 17:31:31 benno Exp $ */ +/* $OpenBSD: relay_udp.c,v 1.50 2022/12/28 21:30:18 jmc Exp $ */ /* * Copyright (c) 2007 - 2013 Reyk Floeter <reyk@openbsd.org> @@ -355,7 +355,7 @@ struct relay_dnshdr { u_int8_t dns_flags0; #define DNS_F0_QR 0x80 /* response flag */ #define DNS_F0_OPCODE 0x78 /* message type */ -#define DNS_F0_AA 0x04 /* authorative answer */ +#define DNS_F0_AA 0x04 /* authoritative answer */ #define DNS_F0_TC 0x02 /* truncated message */ #define DNS_F0_RD 0x01 /* recursion desired */ |