diff options
author | 2001-04-08 17:05:05 +0000 | |
---|---|---|
committer | 2001-04-08 17:05:05 +0000 | |
commit | d07aec815238096ca4624aeb5384b44685c5dafe (patch) | |
tree | ad0c71af914bd3dafdcda92fe35c5f1959b9ec7a /iptunnel.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 'iptunnel.c')
-rw-r--r-- | iptunnel.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,6 +14,7 @@ * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses * Rani Assaf <rani@magic.metawire.com> 980930: do not allow key for ipip/sit * Bernd Eckenfels 990715: add linux/types.h (not clean but solves missing __u16 + * Arnaldo Carvalho de Melo 20010404: use setlocale */ #include <stdio.h> @@ -581,6 +582,7 @@ int main(int argc, char **argv) char *basename; #if I18N + setlocale (LC_ALL, ""); bindtextdomain("net-tools", "/usr/share/locale"); textdomain("net-tools"); #endif |