Patch #: 5 Type: bug fix Priority: high Affects: CAP with IPTalk on some hosts. Reported: Rakesh Patel Archived: munnari.OZ.AU mac/cap.patches/cap60.patch005 Summary: IPTalk can fail to parse bridge IP address (compiler dependant) Date: Thu Apr 11 22:11:36 EST 1991 File: cap60/lib/cap/atalkdbm.c *** lib/cap/atalkdbm.c.orig Wed Mar 20 17:03:30 1991 --- lib/cap/atalkdbm.c Thu Apr 11 22:00:56 1991 *************** *** 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 --- 1,7 ---- /* ! * $Date: 91/04/11 22:00:15 $ ! * $Header: atalkdbm.c,v 2.5 91/04/11 22:00:15 djh Exp $ ! * $Revision: 2.5 $ * * mods for async appletalk support, /etc/etalk.local for EtherTalk and * changes for quoted zone names: djh@munnari.OZ.AU, 27/11/90 *************** *** 429,435 **** struct hostent *host; if (isdigit(name[0])) { ! if ((ipaddr->s_addr = inet_addr(name)) < 0) return(-1); return(0); } --- 429,435 ---- struct hostent *host; if (isdigit(name[0])) { ! if ((ipaddr->s_addr = inet_addr(name)) == -1) return(-1); return(0); }