Patch for 'packet.c' in openssh-3.6.1p1
Ben Lindstrom
mouring at etoh.eviladmin.org
Fri Apr 11 23:34:35 EST 2003
This has already been resolved in the --current tree.
- Ben
On Fri, 11 Apr 2003, Bert Deknuydt wrote:
>
> Hello,
>
> I just managed to compile openssh-3.6.1p1 on Ultrix/MIPS. One of the fixes
> needed for this is the following. It's because of:
>
> --- According to the Changelog
> - markus at cvs.openbsd.org 2002/12/10 19:26:50
> [packet.c]
> move tos handling to packet_set_tos; ok provos/henning/deraadt
> ---
>
> This IP_TOS is now nicely stuffed in a function, but that function should
> be #defined away for systems without IP_TOS or with a broken implementation.
>
> Greetings, Bert
>
> diff -c packet.c packet.c.orig
> *** packet.c 2003-04-11 12:21:23.000000000 +0200
> --- packet.c.orig 2003-04-11 13:31:58.000000000 +0200
> ***************
> *** 1314,1321 ****
> return buffer_len(&output) < 128 * 1024;
> }
>
> - #if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
> -
> static void
> packet_set_tos(int interactive)
> {
> --- 1314,1319 ----
> ***************
> *** 1330,1336 ****
> tos, strerror(errno));
> }
>
> - #endif
>
> /* Informs that the current session is interactive. Sets IP flags for that. * /
>
> --- 1328,1333 ----
>
>
> --
> -------------- eMail Bert.Deknuydt at esat.kuleuven.ac.be ---------------
> B.DeKnuydt, PSI-KULeuven Tel. +32-16-321880
> Kasteelpark Arenberg 10 /| | ||
> B-3001 Leuven-Heverlee _,_)| 4_|_||
> FLANDERS, BELGIUM / . Fax. +32-16-321838
> -------------- http://www.esat.kuleuven.ac.be/~deknuydt --------------
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list