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

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