pkgsrc/chat/i2cb/patches/patch-aq
hubertf 03786102ec Add a -lhost switch to allow binding to a local address on a multihomed
host (i.e. choose with which address to connect to the server).

Bump revision to i2cb-6.0_ALPHAnb1.
2004-04-13 21:19:48 +00:00

12 lines
538 B
Text

$NetBSD: patch-aq,v 1.1 2004/04/13 21:19:48 hubertf Exp $
--- src/globals.c.orig Wed Mar 15 23:13:28 2000
+++ src/globals.c
@@ -26,6 +26,7 @@ char *mygroup = ""; /* requested group
char *myserver = NULL; /* name of server */
char *myhost = NULL; /* hostname of server */
int myport = 0; /* string form of port number */
+char *mylhost = NULL; /* local address */
int connected = 0; /* 1 when server validates us */
char continued = 0; /* did we bg then fg this job? */
int whoflg = 0; /* just do a who at startup */