Article View: comp.sys.sun
Article #9581Problem with proxyarpd on Sun-4's running SunOS 4.0 (pa
From: Mark Prior
Date: Mon, 12 Dec 1988 17:19
Date: Mon, 12 Dec 1988 17:19
32 lines
1588 bytes
1588 bytes
We had problems with proxyarpd when we tried to run it on our Sun-4, it
dumped core with a bus error then it was queried. Here's a patch that
fixes things (I haven't got around to working out why the original code
doesn't work but it's probably a compiler bug :-))
Mark.
*** proxyarpd.c Fri Nov 18 14:29:10 1988
--- proxyarpd.c.orig Thu Nov 17 16:26:54 1988
***************
*** 587,595 ****
#if OS_REV >= 4
! /*
! * Original version dumped core
! * addr = *((u_long*) &arpp->arp_tpa[0]);
! */
! bcopy(arpp->arp_tpa,&addr,4);
#else
addr = *((u_long*) &arpp->arp_xtpa[0]);
--- 587,591 ----
#if OS_REV >= 4
! addr = *((u_long*) &arpp->arp_tpa[0]);
#else
addr = *((u_long*) &arpp->arp_xtpa[0]);
--
Mark Prior Phone : +61 8 228 5680
University Computing Services Telex : UNIVAD AA89141
University of Adelaide Fax : +61 8 224 0464
GPO Box 498 Adelaide S.AUSTRALIA 5001 ACSnet: mrp@sirius.ua.oz
Technical Details
Message-ID:
<8812010148.AA23209@uunet.UU.NET>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!mailrus!cornell!uw-beaver!rice!sun-spots-request From: munnari!sirius.ua.oz.au!mrp@uunet.uu.net (Mark Prior) Newsgroups: comp.sys.sun Subject: Problem with proxyarpd on Sun-4's running SunOS 4.0 (pa Message-ID: <8812010148.AA23209@uunet.UU.NET> Date: 12 Dec 88 17:19:42 GMT Sender: usenet@rice.edu Organization: Rice University, Houston, Texas Lines: 32 Approved: Sun-Spots@rice.edu Original-Date: Thu, 1 Dec 88 10:24:55 CST X-Sun-Spots-Digest: Volume 7, Issue 48, message 11 of 12