aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>1999-04-23 08:32:37 +0000
committerPhil Blundell <philb@gnu.org>1999-04-23 08:32:37 +0000
commit5ac09944c4a7c8fe396908d7b5dfe7dfe56bfa71 (patch)
treec4fba5a243a3ae6e2129dffecd869a76206e000c /iptunnel.c
parentFix 2.0 compatibility (diff)
downloadnet-tools-5ac09944c4a7c8fe396908d7b5dfe7dfe56bfa71.tar.gz
net-tools-5ac09944c4a7c8fe396908d7b5dfe7dfe56bfa71.tar.bz2
net-tools-5ac09944c4a7c8fe396908d7b5dfe7dfe56bfa71.zip
More i18n, from Meelis Roos
Diffstat (limited to 'iptunnel.c')
-rw-r--r--iptunnel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/iptunnel.c b/iptunnel.c
index 26bb0cc..d9c282b 100644
--- a/iptunnel.c
+++ b/iptunnel.c
@@ -30,6 +30,7 @@
#include <arpa/inet.h>
#include <linux/if_tunnel.h>
+#include "config.h"
#include "intl.h"
#include "net-support.h"
#include "version.h"
@@ -571,6 +572,11 @@ int main(int argc, char **argv)
{
char *basename;
+#if I18N
+ bindtextdomain("net-tools", "/usr/share/locale");
+ textdomain("net-tools");
+#endif
+
basename = strrchr(argv[0], '/');
if (basename == NULL)
basename = argv[0];