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.
This commit is contained in:
Jiří Klimeš
2013-03-20 09:56:52 +01:00
parent d7d2015dfd
commit a96053fe13

View File

@@ -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");
}