[26] in Hesiod

home help back first fref pref prev next nref lref last post

hesiod name server bug

daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Fri Mar 23 15:50:56 1990

Date: Fri, 23 Mar 90 15:32:13 -0500
From: Mark Rosenstein <mar@MIT.EDU>
To: hesiod@MIT.EDU
In-Reply-To: pma@cnd.hp.com's message of Thu, 22 Mar 90 14:51:41 MST <9003222149.AA02404@ATHENA.MIT.EDU>
There is a bug in the hesiod distribution in that named/xfer.c is
missing a "case C_HS" where it encodes addresses.  Apply the following
patch to correct this:

*** /tmp/,RCSt1022735	Fri Mar 23 15:19:46 1990
--- xfer.c	Thu Mar 22 18:25:47 1990
***************
*** 1037,1042 ****
--- 1037,1043 ----
  	case T_A:
  		switch (class) {
  		case C_IN:
+ 		case C_HS:
  			GETLONG(n, cp);
  			n = htonl(n);
  			(void) fprintf(dbfp, "%s",


The distribution on athena-dist.mit.edu has been updated to include
this correction.
					-Mark

home help back first fref pref prev next nref lref last post