|
|
@@ -34,6 +34,7 @@
|
|
|
#include "traffic.h"
|
|
|
#include "bg.h"
|
|
|
#include "botnet.h"
|
|
|
+#include "buildinfo.h"
|
|
|
#include "src/mod/irc.mod/irc.h"
|
|
|
#include "src/mod/server.mod/server.h"
|
|
|
#include "src/mod/channels.mod/channels.h"
|
|
|
@@ -384,9 +385,9 @@ static void dtx_arg(int argc, char *argv[])
|
|
|
|
|
|
egg_strftime(date, sizeof date, "%c %Z", gmtime(&buildts));
|
|
|
printf("%s\nBuild Date: %s (%s%lu%s)\n", version, date, BOLD(-1), buildts, BOLD_END(-1));
|
|
|
+ printf("BuildOS: %s%s%s BuildArch: %s%s%s\n", BOLD(-1), BUILD_OS, BOLD_END(-1), BOLD(-1), BUILD_ARCH, BOLD_END(-1));
|
|
|
printf("Revision: %s\n", revision);
|
|
|
- sdprintf("pack: %d conf: %d settings_t: %d pad: %d\n", SIZE_PACK, SIZE_CONF, sizeof(settings_t), SIZE_PAD);
|
|
|
- /* This is simply to display the binary config */
|
|
|
+ printf("pack: %d conf: %d settings_t: %d pad: %d\n", SIZE_PACK, SIZE_CONF, sizeof(settings_t), SIZE_PAD);
|
|
|
if (settings.uname[0]) {
|
|
|
sdebug++;
|
|
|
bin_to_conf();
|