aboutsummaryrefslogtreecommitdiff
path: root/lwip/port/netif/hurdethif.c
diff options
context:
space:
mode:
Diffstat (limited to 'lwip/port/netif/hurdethif.c')
-rw-r--r--lwip/port/netif/hurdethif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwip/port/netif/hurdethif.c b/lwip/port/netif/hurdethif.c
index e076a3ac..ec899e40 100644
--- a/lwip/port/netif/hurdethif.c
+++ b/lwip/port/netif/hurdethif.c
@@ -75,7 +75,7 @@ static struct bpf_insn bpf_ether_filter[] = {
{BPF_RET | BPF_K, 0, 0, 0}, /* Or discard it all */
};
-static int bpf_ether_filter_len = sizeof (bpf_ether_filter) / sizeof (short);
+static int bpf_ether_filter_len = sizeof (bpf_ether_filter) / (sizeof (short));
/* Bucket and class for the incoming data */
struct port_bucket *etherport_bucket;