lkml.org 
[lkml]   [2002]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ver_linux script updates
Oh duh..that's what happens when you cut and paste only parts. :)

Thanks,
-d

Stefan Becker wrote:

>Hi!
>
>David Ford wrote:
>[...]
>
>>Please provide feedback on it.
>>
>
>ECN detection doesn't work properly.
>
>--- ver_linux.orig Thu Feb 14 13:31:43 2002
>+++ ver_linux Thu Feb 14 13:31:33 2002
>@@ -44,8 +44,8 @@
> }
>
> function truth {
>- if [ "$@" == "0" ]; then echo "disabled"; fi
>- echo "enabled"
>+ if [ "$@" == "0" ]; then echo "disabled"; else
>+ echo "enabled"; fi
> }
>
> pv "Gnu C compiler" "$(gcc --version 2>/dev/null)" gcc
>@@ -153,5 +153,5 @@
> # kernel tuning options
> if [ -e /proc/sys/net/ipv4/tcp_ecn ]; then
> v=$(cat /proc/sys/net/ipv4/tcp_ecn)
>- pv "TCP option: ECN" "$(truth v)"
>+ pv "TCP option: ECN" "$(truth $v)"
> fi
>
>Greeting from Aachen,
>Stefan Becker
>

[unhandled content-type:application/x-pkcs7-signature]
\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.204 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site