diff --git a/src/netif/ethernet.c b/src/netif/ethernet.c index 9e9610c8..36ff762c 100644 --- a/src/netif/ethernet.c +++ b/src/netif/ethernet.c @@ -139,7 +139,7 @@ ethernet_input(struct pbuf *p, struct netif *netif) } #if LWIP_IPV6 else if ((ethhdr->dest.addr[0] == LL_IP6_MULTICAST_ADDR_0) && - (ethhdr->dest.addr[1] == LL_IP6_MULTICAST_ADDR_1)) { + (ethhdr->dest.addr[1] == LL_IP6_MULTICAST_ADDR_1)) { /* mark the pbuf as link-layer multicast */ p->flags |= PBUF_FLAG_LLMCAST; } @@ -228,11 +228,11 @@ free_and_return: * Send an ethernet packet on the network using netif->linkoutput * The ethernet header is filled in before sending. * - * @params netif the lwIP network interface on which to send the packet - * @params p the packet to send, p->payload pointing to the (uninitialized) ethernet header - * @params src the source MAC address to be copied into the ethernet header - * @params dst the destination MAC address to be copied into the ethernet header - * @params eth_type ethernet type + * @param netif the lwIP network interface on which to send the packet + * @param p the packet to send, p->payload pointing to the (uninitialized) ethernet header + * @param src the source MAC address to be copied into the ethernet header + * @param dst the destination MAC address to be copied into the ethernet header + * @param eth_type ethernet type * @return ERR_OK if the packet was sent, any other err_t on failure */ err_t