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:
Huang Qi
2021-04-13 10:21:02 +08:00
committed by Gustavo Henrique Nihei
parent c303a12f26
commit e5c278981a
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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.