From a96053fe13ce4ee33e1c824f5d35222c2f603844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Wed, 20 Mar 2013 09:56:52 +0100 Subject: [PATCH] dhclient: also request 'static-routes' option from DHCP server (rh #922558) DHCP server won't send 'Static Route' option to the client if it is not explicitly requested. --- src/dhcp-manager/nm-dhcp-dhclient-utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dhcp-manager/nm-dhcp-dhclient-utils.c b/src/dhcp-manager/nm-dhcp-dhclient-utils.c index d311d5028d..db4bf7e8b6 100644 --- a/src/dhcp-manager/nm-dhcp-dhclient-utils.c +++ b/src/dhcp-manager/nm-dhcp-dhclient-utils.c @@ -231,6 +231,7 @@ nm_dhcp_dhclient_create_config (const char *interface, add_ip4_config (new_contents, s_ip4, hostname); add_also_request (alsoreq, "rfc3442-classless-static-routes"); add_also_request (alsoreq, "ms-classless-static-routes"); + add_also_request (alsoreq, "static-routes"); add_also_request (alsoreq, "wpad"); add_also_request (alsoreq, "ntp-servers"); }