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

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