espie bebf0a30b1 Repair readdress option.
The actual functionality is untested, but without this patch,
ytalk just seg-faults as soon as readdress appears in a configuration
file.

Problem reported as random segfaults by todd@, nice common debugging
session :)
1999-03-17 02:10:32 +00:00

12 lines
400 B
Plaintext

--- socket.h.orig Wed Mar 17 02:32:04 1999
+++ socket.h Wed Mar 17 02:33:03 1999
@@ -24,6 +24,8 @@
typedef struct _readdr {
struct _readdr *next; /* next in linked list */
+ ylong from_addr; /* does this apply to me ? */
+ ylong from_mask;
ylong addr; /* this net address [group?], */
ylong mask; /* with this mask, */
ylong id_addr; /* thinks I'm at this net address, */