]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/session2.h: clarify `struct session2` docs docs-develop-nits-2dntdj/deployments/4272
authorOto Šťáva <oto.stava@nic.cz>
Tue, 4 Jun 2024 08:49:49 +0000 (10:49 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Tue, 4 Jun 2024 14:00:40 +0000 (16:00 +0200)
commit4d57c6381e88bc8ba6959df14d21cca28b84c247
treec712f03dd4cc27bff3e717eb0db1f13700b30b4c
parent68688fac013a4c16a476acc15c366a8ce07ed46e
daemon/session2.h: clarify `struct session2` docs

As pointed out by @lukas.ondracek, the wording could be confusing when
mentioning *bottommost* and *topmost* layers. The original wording was
meant to reference the way the arrays in `daemon/session2.c` are laid
out, but never explicitly mentioned that, so one could be implicitly
think it was in reference to the widely known ISO/OSI or TCP/IP models,
which could be interpreted incorrectly (the layers are traditionally
laid out the other way around there).
daemon/session2.h