summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkt_buff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkt_buff.h b/pkt_buff.h
index f86c011..3376107 100644
--- a/pkt_buff.h
+++ b/pkt_buff.h
@@ -104,7 +104,7 @@ static inline void pkt_set_proto(struct pkt_buff *pkt, struct hash_table *table,
{
bug_on(!pkt || !table);
- pkt->proto = (struct protocol *) lookup_hash(key, table);
+ pkt->proto = lookup_hash(key, table);
while (pkt->proto && key != pkt->proto->key)
pkt->proto = pkt->proto->next;
}