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 >