diff options
Diffstat (limited to 'device/net_io.c')
-rw-r--r-- | device/net_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device/net_io.c b/device/net_io.c index dca99d76..a6f842e5 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -1371,10 +1371,10 @@ net_set_filter(ifp, rcv_port, priority, filter, filter_count) /* Not checking for the same key values */ if (*p == 0) { - queue_init ((queue_t) hash_entp); + queue_init (&hash_entp->chain); *p = hash_entp; } else { - enqueue_tail((queue_t)*p, hash_entp); + enqueue_tail(&(*p)->chain, &hash_entp->chain); } ((net_hash_header_t)my_infp)->ref_count++; |