summaryrefslogtreecommitdiff
path: root/ipmaddr.c
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 /ipmaddr.c
parent704788c77be32c24d5a9a64a5583da244d58730c (diff)
downloadnet-tools-5ac09944c4a7c8fe396908d7b5dfe7dfe56bfa71.tar.gz
net-tools-5ac09944c4a7c8fe396908d7b5dfe7dfe56bfa71.tar.bz2
net-tools-5ac09944c4a7c8fe396908d7b5dfe7dfe56bfa71.zip
More i18n, from Meelis Roos
Diffstat (limited to 'ipmaddr.c')
-rw-r--r--ipmaddr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipmaddr.c b/ipmaddr.c
index 5f5c962..3ca668e 100644
--- a/ipmaddr.c
+++ b/ipmaddr.c
@@ -25,6 +25,7 @@
#include <arpa/inet.h>
#include <string.h>
+#include "config.h"
#include "intl.h"
#include "util-ank.h"
#include "net-support.h"
@@ -384,6 +385,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];