ip4_forward(): fixed compiling IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1

This commit is contained in:
goldsimon 2016-08-23 15:26:05 +02:00
parent 306171c93b
commit fd5b34ae43

View File

@ -267,6 +267,7 @@ ip4_forward(struct pbuf *p, struct ip_hdr *iphdr, struct netif *inp)
struct netif *netif;
PERF_START;
LWIP_UNUSED_ARG(inp);
if (!ip4_canforward(p)) {
goto return_noroute;