routing: Reading multiple addresses from node_announcements

This commit is contained in:
Christian Decker
2017-05-08 21:26:46 +02:00
committed by Rusty Russell
parent ed9668339d
commit 26892e79bb
4 changed files with 38 additions and 1 deletions

View File

@@ -173,6 +173,7 @@ void fromwire_ipaddr(const u8 **cursor, size_t *max, struct ipaddr *addr)
}
addr->type = **cursor;
*cursor += 1;
switch (addr->type) {
case 1:
addr->addrlen = 4;