Skip to content

Commit

Permalink
nathelper: ping WSS clients when using natping_tcp
Browse files Browse the repository at this point in the history
See ticket #875

(cherry picked from commit 54a306a)
  • Loading branch information
razvancrainea committed May 18, 2016
1 parent 515484f commit 6a22f40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/nathelper/nathelper.c
Expand Up @@ -1392,8 +1392,9 @@ nh_timer(unsigned int ticks, void *timer_idx)
}

if (next_hop.proto != PROTO_NONE && next_hop.proto != PROTO_UDP &&
(natping_tcp == 0 || (next_hop.proto != PROTO_TCP &&
next_hop.proto != PROTO_TLS &&
(natping_tcp == 0 || (next_hop.proto != PROTO_TCP &&
next_hop.proto != PROTO_TLS &&
next_hop.proto != PROTO_WSS &&
next_hop.proto != PROTO_WS)))
continue;

Expand Down

0 comments on commit 6a22f40

Please sign in to comment.