summaryrefslogtreecommitdiff
path: root/src/routing.h
diff options
context:
space:
mode:
authorJesper Jensen <jesper@slashwin.dk>2021-09-03 22:32:42 +0200
committerJesper Jensen <jesper@slashwin.dk>2021-09-03 22:32:42 +0200
commit9b4973e7d96a3605583c3f9a80567945c8d4be71 (patch)
tree3f17876a557a15ffe2a90591e157d1065a444a11 /src/routing.h
parent5471d80c5350f764ec53733bae9d32c0a1a339e0 (diff)
Add ping support
Diffstat (limited to 'src/routing.h')
-rw-r--r--src/routing.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routing.h b/src/routing.h
index 540f3f6..5c98f13 100644
--- a/src/routing.h
+++ b/src/routing.h
@@ -12,7 +12,10 @@ struct addr {
};
struct nodeid {
- uint32_t inner[5];
+ union {
+ uint32_t inner[5];
+ char inner_b[20];
+ };
};
struct entry {