… | |
… | |
47 | #include "slog.h" |
47 | #include "slog.h" |
48 | #include "util.h" |
48 | #include "util.h" |
49 | #include "vpn.h" |
49 | #include "vpn.h" |
50 | #include "iom.h" |
50 | #include "iom.h" |
51 | |
51 | |
52 | vpn network; |
|
|
53 | |
|
|
54 | static loglevel llevel = L_NONE; |
52 | static loglevel llevel = L_NONE; |
55 | |
53 | |
56 | /* If nonzero, display usage information and exit. */ |
54 | /* If nonzero, display usage information and exit. */ |
57 | static int show_help; |
55 | static int show_help; |
58 | |
56 | |
… | |
… | |
222 | |
220 | |
223 | if (show_version) |
221 | if (show_version) |
224 | { |
222 | { |
225 | printf (_("%s version %s (built %s %s, protocol %d.%d)\n"), get_identity (), |
223 | printf (_("%s version %s (built %s %s, protocol %d.%d)\n"), get_identity (), |
226 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); |
224 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); |
|
|
225 | printf (_("Built with kernel interface %s/%s.\n"), IFTYPE, IFSUBTYPE); |
227 | printf (_ |
226 | printf (_ |
228 | ("Copyright (C) 2003 Marc Lehmann <vpe@plan9.de> and others.\n" |
227 | ("Copyright (C) 2003 Marc Lehmann <vpe@plan9.de> and others.\n" |
229 | "See the AUTHORS file for a complete list.\n\n" |
228 | "See the AUTHORS file for a complete list.\n\n" |
230 | "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n" |
229 | "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n" |
231 | "and you are welcome to redistribute it under certain conditions;\n" |
230 | "and you are welcome to redistribute it under certain conditions;\n" |