ip4: forward: try to fix the build...

... by adding a default case
This commit is contained in:
Simon Goldschmidt 2020-01-30 23:22:00 +01:00
parent 38894637e7
commit 5de4967f23

View File

@ -365,6 +365,9 @@ ip4_forward(struct pbuf *p, struct ip_hdr *iphdr, struct netif *inp)
}
break;
#endif
default:
/* there's really nothing to do here other than satisfying 'switch-default' */
break;
}
LWIP_DEBUGF(IP_DEBUG, ("ip4_forward: forwarding packet to %"U16_F".%"U16_F".%"U16_F".%"U16_F"\n",