diff options
author | 2001-04-08 17:05:05 +0000 | |
---|---|---|
committer | 2001-04-08 17:05:05 +0000 | |
commit | d07aec815238096ca4624aeb5384b44685c5dafe (patch) | |
tree | ad0c71af914bd3dafdcda92fe35c5f1959b9ec7a /ipmaddr.c | |
parent | Fix reporting of IPv6 multicast addresses. (diff) | |
download | net-tools-d07aec815238096ca4624aeb5384b44685c5dafe.tar.gz net-tools-d07aec815238096ca4624aeb5384b44685c5dafe.tar.bz2 net-tools-d07aec815238096ca4624aeb5384b44685c5dafe.zip |
Use setlocale at program initialisation.
Patch from Arnaldo Carvalho de Melo.
Diffstat (limited to 'ipmaddr.c')
-rw-r--r-- | ipmaddr.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,6 +8,9 @@ * * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> * + * Changes: Arnaldo Carvalho de Melo <acme@conectiva.com.br> + * 20010404 - use setlocale + * */ #include <stdio.h> @@ -42,7 +45,7 @@ int filter_family; #define DELADDR 2 char *Release = RELEASE, - *Version = "ipmaddr 1.0", + *Version = "ipmaddr 1.1", *Signature = "Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>"; static void version(void) @@ -388,6 +391,7 @@ int main(int argc, char **argv) char *basename; #if I18N + setlocale (LC_ALL, ""); bindtextdomain("net-tools", "/usr/share/locale"); textdomain("net-tools"); #endif |