mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 18:48:11 +08:00
6b7fe6ea8e
f_domain is used to determine protocol family when CONFIG_NET_IPv4 and CONFIG_NET_IPv6 are both defined, but not correctly used in ipv4_dev_forward because of typo (there's not a config named CONFIG_NET_IPv5) which may cause IPv4 packets to be forwarded as IPv6. Signed-off-by: wengzhe <wengzhe@xiaomi.com>