[AFS3-std] DNS SRV Resource Records for AFS

Derrick Brashear shadow@gmail.com
Mon, 5 Oct 2009 16:57:34 -0400


On Mon, Oct 5, 2009 at 4:54 PM, Russ Allbery <rra@stanford.edu> wrote:
> Jeffrey Altman <jaltman@secure-endpoints.com> writes:
>> Derrick Brashear wrote:
>
>>> Actually, it's not.
>>>
>>> =A0 =A0 =A0 =A0 ttl =3D (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3=
];
>>> =A0 =A0 =A0 =A0 p +=3D 4; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Skip the T=
TL */
>>>
>>> ...
>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (!minttl || ttl < minttl)
>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 minttl =3D ttl;
>>> ...
>>> =A0 =A0 acellInfo->timeout =3D minttl ? (time(0) + minttl) : 0;
>
>> Even better. =A0 There is nothing to say or fix. =A0:-)
>
> Wow, I'm surprised.
>
> I do think that it would be worthwhile to mention this explicitly in the
> draft, just because I didn't think of it and therefore other implementors
> might not. =A0I'll try to come up with some language for that.

Recommendations to implementors note at the end?


--=20
Derrick