From 2f344268ffb31d92fdd48df80fab2334a82fdcc8 Mon Sep 17 00:00:00 2001 From: fbernon Date: Wed, 22 Aug 2007 11:00:02 +0000 Subject: [PATCH] Minor fix (spaces and comment) --- src/netif/ethernetif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/netif/ethernetif.c b/src/netif/ethernetif.c index c064152c..1f5de92f 100644 --- a/src/netif/ethernetif.c +++ b/src/netif/ethernetif.c @@ -226,20 +226,20 @@ ethernetif_input(struct netif *netif) struct pbuf *p; ethernetif = netif->state; - + /* move received packet into a new pbuf */ p = low_level_input(netif); /* no packet could be read, silently ignore this */ if (p == NULL) return; /* points to packet payload, which starts with an Ethernet header */ ethhdr = p->payload; - - switch (htons(ethhdr->type)) { + switch (htons(ethhdr->type)) { /* IP or ARP packet? */ case ETHTYPE_IP: case ETHTYPE_ARP: #if PPPOE_SUPPORT + /* PPPoE packet? */ case ETHTYPE_PPPOEDISC: case ETHTYPE_PPPOE: #endif /* PPPOE_SUPPORT */