commit | 3ad6a7640ba6bfbac6987dfa581c345bdc03100b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Aug 16 10:08:02 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Aug 16 10:08:02 2009 +0200 |
tree | 0493539453b2bb625c774948529e0e111bd97e38 | |
parent | 68dcd25d9c436da64e96aafcf126b7fc1ebd856c [diff] [blame] |
[MINOR] export the hostname variable so that all the code can access it The hostname variable will be used later, export it.
diff --git a/include/common/defaults.h b/include/common/defaults.h index a2267b1..f0873cf 100644 --- a/include/common/defaults.h +++ b/include/common/defaults.h
@@ -179,4 +179,9 @@ #define MAX_SIGNAL 256 #endif +/* Maximum host name length */ +#ifndef MAX_HOSTNAME_LEN +#define MAX_HOSTNAME_LEN 32 +#endif + #endif /* _COMMON_DEFAULTS_H */