]> git.ipfire.org Git - thirdparty/dracut.git/commit
35network-legacy: using 'replace' instead of 'add' to add route
authorJacob Wen <jian.w.wen@oracle.com>
Tue, 26 Nov 2019 07:50:36 +0000 (15:50 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 14 Jan 2020 08:26:12 +0000 (09:26 +0100)
commitd5e818f3490e8840f56de03ba92297f44e507be2
treee23ede41ad105fd09e28bca37cb8378f3e7fa675
parent4598b5540eab8e9371567ec82f18153beb160388
35network-legacy: using 'replace' instead of 'add' to add route

This is a simple trick to honor RFC 3442:
If the DHCP server returns both a Classless Static Routes option and
a Router option, the DHCP client MUST ignore the Router option.

Signed-off-by: Jacob Wen <jian.w.wen@oracle.com>
modules.d/35network-legacy/dhclient-script.sh