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

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