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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/