uip6.c: label 'process' is only used when multicast AND routing are set

This commit is contained in:
Simon Duquennoy 2018-03-02 11:24:54 -08:00 committed by Atis Elsts
parent 74764af9b9
commit a65dcea7ce

View File

@ -1256,9 +1256,9 @@ uip_process(uint8_t flag)
uip_ext_bitmap = 0; uip_ext_bitmap = 0;
#endif /* UIP_CONF_ROUTER */ #endif /* UIP_CONF_ROUTER */
#if UIP_IPV6_MULTICAST #if UIP_IPV6_MULTICAST && UIP_CONF_ROUTER
process: process:
#endif #endif /* UIP_IPV6_MULTICAST && UIP_CONF_ROUTER */
while(1) { while(1) {
switch(*uip_next_hdr){ switch(*uip_next_hdr){