mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 01:00:12 +00:00
net/ipforward: correct application data offset
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
f361d1cd41
commit
b60b48411c
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ static inline void forward_ipselect(FAR struct forward_s *fwd)
|
|||
|
||||
/* Set the offset to the beginning of the UDP data payload */
|
||||
|
||||
dev->d_appdata = &dev->d_buf[IPv6_HDRLEN + NET_LL_HDRLEN(dev)];
|
||||
dev->d_appdata = &dev->d_buf[IPv6UDP_HDRLEN + NET_LL_HDRLEN(dev)];
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue