mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-15 02:00:50 +00:00
Initialize the right scope field
Problem identified by Simo Sorce
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ enum nss_status _nss_myhostname_gethostbyname4_r(
|
||||
r_tuple2->name = r_name;
|
||||
r_tuple2->family = AF_INET6;
|
||||
memcpy(r_tuple2->addr, LOCALADDRESS_IPV6, 16);
|
||||
r_tuple1->scopeid = (uint32_t) ifi;
|
||||
r_tuple2->scopeid = (uint32_t) ifi;
|
||||
idx += ALIGN(sizeof(struct gaih_addrtuple));
|
||||
|
||||
/* Verify the size matches */
|
||||
|
||||
Reference in New Issue
Block a user