mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
net: Rename IP_TTL to IP_TTL_DEFAULT
Since a SOL option IP_TTL exist, we should rename this IP_TTL in netconfig.h to avoid confusion. Signed-off-by: Huang Qi <huangqi3@xiaomi.com> Change-Id: Ib04c36553f23bce8d362e97294a8b83eaa050cf3
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
c303a12f26
commit
e5c278981a
@@ -194,7 +194,7 @@ static int sixlowpan_tcp_header(FAR struct tcp_conn_s *conn,
|
||||
ipv6tcp->ipv6.tcf = 0x00;
|
||||
ipv6tcp->ipv6.flow = 0x00;
|
||||
ipv6tcp->ipv6.proto = IP_PROTO_TCP;
|
||||
ipv6tcp->ipv6.ttl = IP_TTL;
|
||||
ipv6tcp->ipv6.ttl = IP_TTL_DEFAULT;
|
||||
|
||||
/* The IPv6 header length field does not include the size of IPv6 IP
|
||||
* header.
|
||||
|
||||
Reference in New Issue
Block a user