Wensong Zhang wrote:
> Changes:
> * Julian fixed the bug in the WRR scheduler, server with weight
> zero is selected when all server weights (>= 2 servers) are zero.
> Thank Ratz for reporting the bug.
Yep, it works now as expected!
> * Added the comestic things for debugging.
> When the debugging is enabled, you can change difference debugging
> level through /proc/sys/net/ipv4/vs/debug_level. And, the debugging
> information is now easy to read.
Thank you for including this. Debugging is now so easy :)
For the others, still with the older patches and debugging, I
have some handy tool (a least for my purposes) to fast translate
%08X to %u.%u.%u.%u addresses. Thanks to Wensong this is obsolete
now.
Usage : ./hex2dot.sh 0264A8C0 [from the kern.* output]
Output: 192.168.100.2
-----------------------------------------------------------------
#!/bin/sh
t=0x$1
t=$((t))
echo $(($t & 0xFF)).$((($t >> 8) & 0xFF)).$((($t >> 16) & 0xFF)).$((($t >> 24)&
0xFF))
-----------------------------------------------------------------
regards,
Roberto Nibali, ratz
--
mailto: `echo NrOatSz@xxxxxxxxx | sed 's/[NOSPAM]//g'`
|