From 1e544ce482ba97f9c4e2be114f88f11e49bdbf1b Mon Sep 17 00:00:00 2001 From: multiplexd Date: Wed, 12 Feb 2020 01:02:37 +0000 Subject: Implement source address selection This commit adds a '-S' command line option and a "bind" configuration file option to specify the source address to bind to when connecting to the IRC server. --- chat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index 6af5ef7..ed6dc2f 100644 --- a/chat.h +++ b/chat.h @@ -125,7 +125,7 @@ struct Message { }; void ircConfig(bool insecure, FILE *cert, FILE *priv); -int ircConnect(const char *host, const char *port); +int ircConnect(const char *bind, const char *host, const char *port); void ircRecv(void); void ircSend(const char *ptr, size_t len); void ircFormat(const char *format, ...) -- cgit 1.4.1