Blame SOURCES/0115-network-fix-dns-parsing-in-ip-parameter.patch

a56a5e
From 36d3274050935419c90fd0c0ba71ec26bf4a1b4c Mon Sep 17 00:00:00 2001
966cef
From: Harald Hoyer <harald@redhat.com>
966cef
Date: Fri, 7 Feb 2014 15:41:50 +0100
966cef
Subject: [PATCH] network:fix dns parsing in ip= parameter
966cef
966cef
---
966cef
 modules.d/40network/net-lib.sh | 2 +-
966cef
 1 file changed, 1 insertion(+), 1 deletion(-)
966cef
966cef
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
966cef
index 1b51c85..8948a47 100755
966cef
--- a/modules.d/40network/net-lib.sh
966cef
+++ b/modules.d/40network/net-lib.sh
966cef
@@ -353,7 +353,7 @@ ip_to_var() {
966cef
             [ -n "$5" ] && hostname=$5; [ -n "$6" ] && dev=$6; [ -n "$7" ] && autoconf=$7;
966cef
             case "$8" in
966cef
                 [0-9]*:*|[0-9]*.[0-9]*.[0-9]*.[0-9]*)
966cef
-                    dns1="$mtu"; unset $mtu
966cef
+                    dns1="$8"
966cef
                     [ -n "$9" ] && dns2="$9"
966cef
                     ;;
966cef
                 [0-9]*)