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

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