From f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 29 Jun 2001 22:18:09 +0000 Subject: run more stuff with C locale, mark some more strings for translation --- sysconfig/network-scripts/network-functions-ipv6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysconfig/network-scripts/network-functions-ipv6') diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6 index 4ae37ab8..f9f87d29 100644 --- a/sysconfig/network-scripts/network-functions-ipv6 +++ b/sysconfig/network-scripts/network-functions-ipv6 @@ -359,7 +359,7 @@ function ifdown_ipv6_tunnel() { # Set up a tunnel - output="`route -A inet6 del $routeipv6 gw ::$addressipv4tunnel dev sit0 2>&1`" + output="`LC_ALL=C route -A inet6 del $routeipv6 gw ::$addressipv4tunnel dev sit0 2>&1`" if [ $? -ne 0 ]; then if echo $output | grep -i -q 'SIOCDELRT: No such process'; then true @@ -423,7 +423,7 @@ function test_ipv6_addrs_exists () { if [ "$EXISTS_ipv6calc" = "yes" ]; then # Using ipv6calc and compare against /proc/net/if_inet6 - convertresult="`ipv6calc --addr2if_inet6 $testaddr/$testprefix`" + convertresult="`LC_ALL=C ipv6calc --addr2if_inet6 $testaddr/$testprefix`" # Split in address, scope and prefix length test_addr="`echo $convertresult | awk '{ print $1 }'`" test_scope="`echo $convertresult | awk '{ print $2 }'`" -- cgit v1.2.1