mirror of
https://github.com/apache/nuttx.git
synced 2026-05-09 23:12:17 +08:00
d619ee6541
Make nat_port_select() return an error code and report the selected external port through an output parameter. This separates selection failure from the valid ICMP echo identifier value zero, so outbound NAT entry creation no longer rejects ICMP echo requests that use id zero. Signed-off-by: Shunchao Hu <ankohuu@gmail.com>