]> git.ipfire.org Git - thirdparty/systemd.git/commit
nss-myhostname: use FAMILY_ADDRESS_SIZE instead of the integer 16 when copying ip...
authorjouyouyun <yanbowen@uniontech.com>
Tue, 4 Nov 2025 12:59:01 +0000 (20:59 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 6 Nov 2025 21:26:42 +0000 (21:26 +0000)
commitd9789b22967dec57933843bbf98593ca95c683f5
treecac1357b61f3aeac407a07babc3c0c4cceae9e22
parentd5f5ff3ff049fbca896f863539806d02b40e0254
nss-myhostname: use FAMILY_ADDRESS_SIZE instead of the integer 16 when copying ip addr

To avoid copying extra characters when using IPv4.

(cherry picked from commit 05b880ac46b27c65de09d7add6b0e2f5ac3bcd9a)
src/nss-myhostname/nss-myhostname.c