- accept condition = ${if eq {$tpda_event}{tcp:connect}}
- logwrite = . [$host_address]:$sending_port
- accept condition = ${if eq {$tpda_event}{tcp:close}}
+ accept condition = ${if eq {$event_name}{tcp:connect}}
+ logwrite = . [$host_address]:$host_port
+ accept condition = ${if eq {$event_name}{tcp:close}}