summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2025-05-10 11:43:31 +0200
committerJesper Jensen <jesper@jnsn.dev>2025-05-10 11:43:31 +0200
commitf93e2d4de6e8140276ce84d173bfb80acaf45830 (patch)
tree82b9f434842e785b76b0df1b482d8c469cb5ec71 /src/main.c
parentd230c01c0609529332eb72ae1b65f0ddddd515a0 (diff)
Rebuild the rounting table on startup
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 11e39bd..f0be10a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -158,6 +158,7 @@ int main(int argc, char** argv) {
} else {
routing_setid(&myID);
routing_reset_expire(time(NULL) + PROTO_UNCTM);
+ routing_rebuild_table();
}
dht.self = myID;