net/inet: Rename ttl to s_ttl in sconn.

uniform naming convention

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu
2024-05-29 19:35:34 +08:00
committed by Xiang Xiao
parent b32a1dfd3d
commit 9472426f69
8 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ ssize_t psock_6lowpan_udp_sendto(FAR struct socket *psock,
ipv6udp.ipv6.tcf = 0x00;
ipv6udp.ipv6.flow = 0x00;
ipv6udp.ipv6.proto = IP_PROTO_UDP;
ipv6udp.ipv6.ttl = conn->sconn.ttl;
ipv6udp.ipv6.ttl = conn->sconn.s_ttl;
/* The IPv6 header length field does not include the size of IPv6 IP
* header.