bolt7: allow announcement of ADDR_TYPE_DNS

This commit is contained in:
Michael Schmoock
2021-10-01 13:47:29 +02:00
committed by Rusty Russell
parent 25bd09716f
commit 01e8a523e9
12 changed files with 111 additions and 35 deletions

View File

@@ -324,6 +324,9 @@ int main(int argc, char *argv[])
case ADDR_TYPE_WEBSOCKET:
opt_usage_exit_fail("Don't support websockets");
break;
case ADDR_TYPE_DNS:
opt_usage_exit_fail("Don't support DNS");
break;
case ADDR_TYPE_IPV4:
af = AF_INET;
break;