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

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