Commit 3a3d0b5d authored by Niels Möller's avatar Niels Möller
Browse files

(tcpforward_remove): Use CAST_SUBTYPE.

Rev: src/tcpforward.c:1.74
parent 9f4bb6d2
......@@ -68,7 +68,7 @@ tcpforward_remove(struct object_queue *q,
{
FOR_OBJECT_QUEUE(q, n)
{
CAST(forwarded_port, p, n);
CAST_SUBTYPE(forwarded_port, p, n);
if ( (port == p->address->port)
&& lsh_string_eq_l(p->address->ip, length, ip) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment