Blame SOURCES/0546-40network-dhclient.conf-rename-classless-routes-to-c.patch

18971c
From 013030d9471fca3f99d358e8bc3cb7a418f9735b Mon Sep 17 00:00:00 2001
18971c
From: Lukas Nykryn <lnykryn@redhat.com>
18971c
Date: Thu, 13 Jul 2017 16:46:19 +0200
18971c
Subject: [PATCH] 40network/dhclient.conf: rename classless-routes to
18971c
 classless-static-routes
18971c
18971c
We tell dhclient to name 121 option "classless-routes",
18971c
but in dhclient-script we parse classless_static_routes.
18971c
So either have to change the configuration or the script.
18971c
18971c
And since dhclient uses by default classless_static_routes,
18971c
let's change the configuration
18971c
18971c
Cherry-picked from: 62b7920ed
18971c
Resolves: #1453907
18971c
---
18971c
 modules.d/40network/dhclient.conf | 4 ++--
18971c
 1 file changed, 2 insertions(+), 2 deletions(-)
18971c
18971c
diff --git a/modules.d/40network/dhclient.conf b/modules.d/40network/dhclient.conf
18971c
index a1739ce3..49266db0 100644
18971c
--- a/modules.d/40network/dhclient.conf
18971c
+++ b/modules.d/40network/dhclient.conf
18971c
@@ -1,6 +1,6 @@
18971c
 
18971c
-option classless-routes code 121 = array of unsigned integer 8;
18971c
+option classless-static-routes code 121 = array of unsigned integer 8;
18971c
 
18971c
 request subnet-mask, broadcast-address, time-offset, routers,
18971c
         domain-name, domain-name-servers, domain-search, host-name,
18971c
-        root-path, interface-mtu, classless-routes;
18971c
+        root-path, interface-mtu, classless-static-routes;