Patch #: 1 Type: bug fix Priority: high Affects: sites with CAP host node number > 127 Reported: David N. Blank Archived: munnari.OZ.AU mac/cap.patches/cap60.patch001 Summary: uses bogus mask value File: cap60/lib/cap/atalkdbm.c *** lib/cap/atalkdbm.c.orig Wed Mar 20 17:02:57 1991 --- lib/cap/atalkdbm.c Wed Mar 20 17:03:30 1991 *************** *** 1,7 **** /* ! * $Date: 91/03/15 14:56:00 $ ! * $Header: atalkdbm.c,v 2.3 91/03/15 14:56:00 djh Exp $ ! * $Revision: 2.3 $ * * mods for async appletalk support, /etc/etalk.local for EtherTalk and * changes for quoted zone names: djh@munnari.OZ.AU, 27/11/90 --- 1,7 ---- /* ! * $Date: 91/03/20 16:52:56 $ ! * $Header: atalkdbm.c,v 2.4 91/03/20 16:52:56 djh Exp $ ! * $Revision: 2.4 $ * * mods for async appletalk support, /etc/etalk.local for EtherTalk and * changes for quoted zone names: djh@munnari.OZ.AU, 27/11/90 *************** *** 196,202 **** getfield(st, sizeof(st), 0); this_net = htons(atnetshort(st)); getfield(st, sizeof(st), 0); ! this_node = atoi(st) & 0x7f; getfield(this_zone, sizeof(this_zone), 0); if (this_net == 0 || this_node == 0 || *this_zone == '\0') { fprintf(stderr, "openatalkdb: in %s, error at line %d\n",fn,linecnt); --- 196,202 ---- getfield(st, sizeof(st), 0); this_net = htons(atnetshort(st)); getfield(st, sizeof(st), 0); ! this_node = atoi(st) & 0xff; getfield(this_zone, sizeof(this_zone), 0); if (this_net == 0 || this_node == 0 || *this_zone == '\0') { fprintf(stderr, "openatalkdb: in %s, error at line %d\n",fn,linecnt);