Blame SOURCES/0461-network-fix-dhcp-classless_static_routes.patch

18971c
From 33710dfbfcf43f4438ed58e45e2599d3fe47e2f3 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Wed, 7 Sep 2016 09:33:31 +0200
18971c
Subject: [PATCH] network: fix dhcp classless_static_routes
18971c
18971c
removed copy&paste artifact "modify_routes add"
18971c
18971c
there is no modify_routes() function, and we simply want the output
18971c
of the parse function.
18971c
---
18971c
 modules.d/40network/dhclient-script.sh | 2 +-
18971c
 1 file changed, 1 insertion(+), 1 deletion(-)
18971c
18971c
diff --git a/modules.d/40network/dhclient-script.sh b/modules.d/40network/dhclient-script.sh
18971c
index f6c77f2f..2a2e2343 100755
18971c
--- a/modules.d/40network/dhclient-script.sh
18971c
+++ b/modules.d/40network/dhclient-script.sh
18971c
@@ -175,7 +175,7 @@ case $reason in
18971c
             echo '. /lib/net-lib.sh'
18971c
             echo "setup_net $netif"
18971c
             if [ -n "$new_classless_static_routes" ]; then
18971c
-                modify_routes add "$(parse_option_121 $new_classless_static_routes)"
18971c
+                parse_option_121 $new_classless_static_routes
18971c
             fi
18971c
             echo "source_hook initqueue/online $netif"
18971c
             [ -e /tmp/net.$netif.manualup ] || echo "/sbin/netroot $netif"