projects
/
project
/
unetd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
host: avoid running connect timer if the network is not up
[project/unetd.git]
/
host.c
diff --git
a/host.c
b/host.c
index 6f5c0af45f358c07df01b45a1ff9cb5a75e7da5c..bef8863292cfca764343a48c0f6dc7e0006abe26 100644
(file)
--- a/
host.c
+++ b/
host.c
@@
-234,7
+234,7
@@
network_hosts_connect_cb(struct uloop_timeout *t)
host->peer.state.num_net_queries = 0;
net->num_net_queries = 0;
- if (!net->net_config.keepalive)
+ if (!net->net_config.keepalive
|| !net->net_config.local_host
)
return;
wg_peer_refresh(net);