… | |
… | |
21 | |
21 | |
22 | #include "config.h" |
22 | #include "config.h" |
23 | |
23 | |
24 | #include <cstdio> |
24 | #include <cstdio> |
25 | #include <cstring> |
25 | #include <cstring> |
|
|
26 | #include <clocale> |
26 | |
27 | |
27 | #include <errno.h> |
28 | #include <errno.h> |
28 | #include <fcntl.h> |
29 | #include <fcntl.h> |
29 | #include <getopt.h> |
30 | #include <getopt.h> |
30 | #include <signal.h> |
31 | #include <signal.h> |
… | |
… | |
220 | |
221 | |
221 | if (show_version) |
222 | if (show_version) |
222 | { |
223 | { |
223 | printf (_("%s version %s (built %s %s, protocol %d.%d)\n"), get_identity (), |
224 | printf (_("%s version %s (built %s %s, protocol %d.%d)\n"), get_identity (), |
224 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); |
225 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); |
|
|
226 | printf (_("Built with kernel interface %s/%s.\n"), IFTYPE, IFSUBTYPE); |
225 | printf (_ |
227 | printf (_ |
226 | ("Copyright (C) 2003 Marc Lehmann <vpe@plan9.de> and others.\n" |
228 | ("Copyright (C) 2003 Marc Lehmann <vpe@plan9.de> and others.\n" |
227 | "See the AUTHORS file for a complete list.\n\n" |
229 | "See the AUTHORS file for a complete list.\n\n" |
228 | "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n" |
230 | "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n" |
229 | "and you are welcome to redistribute it under certain conditions;\n" |
231 | "and you are welcome to redistribute it under certain conditions;\n" |