]> 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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 4 Nov 2025 16:33:31 +0000 (01:33 +0900)
commit05b880ac46b27c65de09d7add6b0e2f5ac3bcd9a
tree71aaf8efb915b8e24582c0ad5b2251c58db4302b
parent9d129ea34e9753727875ee5ffc6de590fae137c0
nss-myhostname: use FAMILY_ADDRESS_SIZE instead of the integer 16 when copying ip addr

To avoid copying extra characters when using IPv4.
src/nss-myhostname/nss-myhostname.c