Skip to content

Commit 9f073e0

Browse files
committed
Removed redundant tcount check
1 parent c3e81ca commit 9f073e0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/zfw_tc_outbound_track.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3006,13 +3006,6 @@ int bpf_sk_splice6(struct __sk_buff *skb){
30063006
if(!tmvptr){
30073007
break;
30083008
}
3009-
if(tcount > 5000){
3010-
if(local_diag->verbose){
3011-
event.tracking_code = MASQUERADE_NO_FREE_UDP_SRC_PORTS_FOUND;
3012-
send_event(&event);
3013-
}
3014-
return TC_ACT_SHOT;
3015-
}
30163009
}
30173010
struct masq_value rev_new_val = {0};
30183011
rev_new_val.o_sport = rand_source_port;

0 commit comments

Comments
 (0)