Fix nullrouting for compilation with nullnet
@@ -106,7 +106,9 @@ local_repair(const char *str)
static void
ext_header_remove(void)
{
+#if NETSTACK_CONF_WITH_IPV6
uip_ext_len = 0;
+#endif /* NETSTACK_CONF_WITH_IPV6 */
}
/*---------------------------------------------------------------------------*/
static int
