Host down in non-EN locale raises error
|Reported by:||anonymous||Owned by:|
When using ServerDownMacro in a non-EN locale (e.g. de_DE as in my case) the error raised on
s.connect does not contain Connection refused but a localized message.
Attached patch changes error evaluation to rely on
errno instead of message text and it does not use fixed numbers (execpt to 11001 which I could find what kind of error this is exactly).