aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions-ipv6
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-06-29 22:18:09 +0000
committerBill Nottingham <notting@redhat.com>2001-06-29 22:18:09 +0000
commitf1a7234440ef762a3f659fe3c6dc4f5bfe8234f1 (patch)
tree0e8eea09ea33b85528acce0e052ea3371b515c25 /sysconfig/network-scripts/network-functions-ipv6
parent09f3739f065703adf268e1d6df48556b430a9dd5 (diff)
downloadinitscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.tar
initscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.tar.gz
initscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.tar.bz2
initscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.tar.xz
initscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.zip
run more stuff with C locale, mark some more strings for translation
Diffstat (limited to 'sysconfig/network-scripts/network-functions-ipv6')
-rw-r--r--sysconfig/network-scripts/network-functions-ipv64
1 files changed, 2 insertions, 2 deletions
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 }'`"