pex: reduce unnecessary ping traffic
authorFelix Fietkau <nbd@nbd.name>
Fri, 16 Sep 2022 12:54:45 +0000 (14:54 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 16 Sep 2022 12:57:25 +0000 (14:57 +0200)
commit1cbb1a543cb3377da422372e633a36d4f69dd9a5
treeecbae6b44f4bba5eece61ded8b96f75c1b95822d
parentabfebece0af1c97a8d063d9e83080a1ee88cf20d
pex: reduce unnecessary ping traffic

Only ping once after the idle time exceeds keepalive time.
Do not ping if no endpoint address is known yet

Signed-off-by: Felix Fietkau <nbd@nbd.name>
host.h
pex.c
wg.c