summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xC.c b/xC.c
index 75cbb93..3e2a370 100644
--- a/xC.c
+++ b/xC.c
@@ -1,7 +1,7 @@
/*
* xC.c: a terminal-based IRC client
*
- * Copyright (c) 2015 - 2022, Přemysl Eric Janouch <p@janouch.name>
+ * Copyright (c) 2015 - 2024, Přemysl Eric Janouch <p@janouch.name>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted.
@@ -15867,6 +15867,7 @@ relay_start (struct app_context *ctx, char *address, struct error **e)
}
// Just try the first one, disregarding IPv4/IPv6 ordering.
+ // Use 0.0.0.0 or [::] to request either one specifically.
int fd = relay_listen_with_context (ctx, result, e);
freeaddrinfo (result);
if (fd == -1)