Patch #: 4 Type: workaround Apple network code change Priority: medium Affects: sites running System 7.1 Macs Submitted: David Hornsby Reported: Carl Ellis Reported: Robert H. de Vries Reported: Joost van Vroonhoven Summary: Macs send GetNetInfo using old network numbers Archived: munnari.OZ.AU mac/cap.patches/uar.1.0.patch04 Application: 'cd uar; patch -p < uar.1.0.patch04' *** zip.c.orig Tue Oct 26 18:25:48 1993 --- zip.c Fri Mar 11 11:37:12 1994 *************** *** 15,21 **** * djh@munnari.OZ.AU * * $Author: djh $ ! * $Revision: 1.1.1.2 $ * */ --- 15,21 ---- * djh@munnari.OZ.AU * * $Author: djh $ ! * $Revision: 1.1.1.3 $ * */ *************** *** 755,760 **** --- 755,771 ---- opd.data = pkt; opd.addr = NULL; opd.hop = 0; + + /* + * handle broken GetNetInfo requests + * + */ + if (opd.dstNet < P2STARTUP + && (opd.dstNet < iflist[ifn].net_lo + || opd.dstNet > iflist[ifn].net_hi)) { + opd.dstNet = iflist[ifn].net; + opd.dstNode = BCAST; + } if (debug & ZIPDEBUG) fprintf(stderr, " ZIP: %-5s Sending GetNetInfo Reply\n", *** README.orig Fri Dec 10 02:24:48 1993 --- README Fri Mar 11 11:38:59 1994 *************** *** 4,10 **** The University of Melbourne djh@munnari.OZ.AU October, 1993 ! version 1.0.3 --- 4,10 ---- The University of Melbourne djh@munnari.OZ.AU October, 1993 ! version 1.0.4