atom feed128 messages in org.freebsd.freebsd-currentRe: 3.0 -release ?
FromSent OnAttachments
55 earlier messages
Jordan K. HubbardDec 4, 1997 9:31 am 
Karl DenningerDec 4, 1997 9:32 am 
Satoshi AsamiDec 4, 1997 10:39 am 
Steve PasseDec 4, 1997 11:10 am 
Steve PasseDec 4, 1997 11:13 am 
Terry LambertDec 4, 1997 11:27 am 
John-Mark GurneyDec 4, 1997 11:42 am 
Terry LambertDec 4, 1997 12:11 pm 
Jonathan M. BreslerDec 4, 1997 12:36 pm 
Terry LambertDec 4, 1997 1:48 pm 
Karl DenningerDec 4, 1997 3:07 pm 
John KellyDec 4, 1997 3:16 pm 
Amancio HastyDec 4, 1997 3:44 pm 
Bob BishopDec 4, 1997 4:16 pm 
Eivind EklundDec 4, 1997 5:20 pm 
Terry LambertDec 4, 1997 5:21 pm 
Jordan K. HubbardDec 4, 1997 6:04 pm 
Warner LoshDec 4, 1997 7:22 pm 
Amancio HastyDec 4, 1997 7:28 pm 
Mark MayoDec 4, 1997 8:46 pm 
Mark MayoDec 4, 1997 8:59 pm 
Steve PasseDec 4, 1997 9:01 pm 
Chuck RobeyDec 4, 1997 9:24 pm 
Jordan K. HubbardDec 4, 1997 9:52 pm 
Shawn RamseyDec 4, 1997 10:33 pm 
Greg LeheyDec 4, 1997 10:35 pm 
Amancio HastyDec 4, 1997 10:49 pm 
Bruce EvansDec 4, 1997 11:46 pm 
Jordan K. HubbardDec 5, 1997 1:32 am 
Søren SchmidtDec 5, 1997 1:39 am 
Ari SuutariDec 5, 1997 2:37 am 
Satoshi AsamiDec 5, 1997 3:37 am 
Philippe RegnauldDec 5, 1997 4:21 am 
Terry LambertDec 5, 1997 12:03 pm 
Gary KlineDec 5, 1997 12:05 pm 
Jim BryantDec 5, 1997 1:19 pm 
Julian ElischerDec 5, 1997 2:03 pm 
Philippe RegnauldDec 5, 1997 2:37 pm 
Mike SmithDec 5, 1997 6:39 pm 
Jordan K. HubbardDec 5, 1997 7:03 pm 
Chuck RobeyDec 5, 1997 8:36 pm 
Shawn RamseyDec 5, 1997 9:22 pm 
Warner LoshDec 5, 1997 10:38 pm 
Warner LoshDec 5, 1997 10:41 pm 
John S. DysonDec 5, 1997 11:04 pm 
Gary KlineDec 5, 1997 11:52 pm 
Gary KlineDec 6, 1997 12:09 am 
Poul-Henning KampDec 6, 1997 1:54 am 
Satoshi AsamiDec 6, 1997 3:34 am 
Brian SomersDec 6, 1997 6:34 am 
Gianmarco GiovannelliDec 6, 1997 8:31 am 
Amancio HastyDec 6, 1997 11:28 am 
Louis A. MamakosDec 6, 1997 12:04 pm 
Terry LambertDec 6, 1997 2:01 pm 
Terry LambertDec 6, 1997 2:10 pm 
Terry LambertDec 6, 1997 2:12 pm 
Terry LambertDec 6, 1997 2:15 pm 
Terry LambertDec 6, 1997 2:22 pm 
Gary KlineDec 6, 1997 2:55 pm 
Tim VanderhoekDec 6, 1997 3:40 pm 
John S. DysonDec 6, 1997 3:56 pm 
John S. DysonDec 6, 1997 4:03 pm 
Jordan K. HubbardDec 6, 1997 4:24 pm 
Greg LeheyDec 7, 1997 12:59 am 
NarviDec 7, 1997 2:20 am 
Terry LambertDec 7, 1997 12:15 pm 
Terry LambertDec 7, 1997 12:49 pm 
Terry LambertDec 7, 1997 12:52 pm 
Terry LambertDec 7, 1997 1:17 pm 
Brian BehlendorfDec 7, 1997 1:56 pm 
Gary KlineDec 7, 1997 5:51 pm 
Ari SuutariDec 7, 1997 11:21 pm 
Brian SomersDec 9, 1997 6:17 pm 
Subject:Re: 3.0 -release ?
From:Brian Somers (bri@awfulhak.org)
Date:Dec 6, 1997 6:34:57 am
List:org.freebsd.freebsd-current

This is a mess. I am half way through making up some patches to fix it properly. (literally I have a window at work with the half-editted sources on it :)

htons will correctly smash up the lower 16 bits of a long under a little-endian OS. so using htons, while being totoally un-portable will probably work, but htonl will do the correct thing, and the lower 16 bits of the port will become 0. The correct answer is to change teh port numbers where-ever they are in natd to be unsigned short. I am doing this.. I'll add the changes in a few days.

For the time being, I've put back the htons() :-/ As you say, this code ain't portable. Our original number goes from a,b,c,d to b,a,0,0 and then gets coerced into a u_short.... two wrongs make a right :-O