mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
ip4_forward(): fixed compiling IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1
This commit is contained in:
parent
306171c93b
commit
fd5b34ae43
@ -267,6 +267,7 @@ ip4_forward(struct pbuf *p, struct ip_hdr *iphdr, struct netif *inp)
|
|||||||
struct netif *netif;
|
struct netif *netif;
|
||||||
|
|
||||||
PERF_START;
|
PERF_START;
|
||||||
|
LWIP_UNUSED_ARG(inp);
|
||||||
|
|
||||||
if (!ip4_canforward(p)) {
|
if (!ip4_canforward(p)) {
|
||||||
goto return_noroute;
|
goto return_noroute;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user