File 0016-Fixed-use-of-4-6-option-for-ip-route-bnc-745252.patch of Package sysconfig.openSUSE_12.1_Update
From d28df4af640f4d7282e1c0d5db627a37238bea24 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.com>
Date: Mon, 2 Apr 2012 14:10:36 +0200
Subject: [PATCH] Fixed use of -4/6 option for ip route (bnc#745252)
---
scripts/ifup-route | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/scripts/ifup-route b/scripts/ifup-route
index 4efaadf..2b8253b 100755
--- a/scripts/ifup-route
+++ b/scripts/ifup-route
@@ -503,17 +503,15 @@ while read DEST GWAY MASK IFACE TYPE IPOPTS ; do
fi
;;
*)
- FOPT=""
case "$GWAY" in
0.0.0.0|\*|::) # Add/Delete a local network / device route
GWAY=""
- FOPT="-$INET"
;;
$DEST)
test "$PFXL" = 32 -o "$PFXL" = 128 && GWAY=""
;;
esac
- run_iproute $FOPT $ACTION to $TYPE $DEST ${GWAY:+via $GWAY} $IFACE $IPOPTS
+ run_iproute -$INET $ACTION to $TYPE $DEST ${GWAY:+via $GWAY} $IFACE $IPOPTS
;;
esac
;;
--
1.7.7