]> git.ipfire.org Git - people/jschlag/network.git/commit
dhclient-script: fix bound
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Mon, 28 Aug 2017 13:27:12 +0000 (15:27 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Jan 2018 13:07:26 +0000 (13:07 +0000)
commitf5551504acee63fdb27511ae10418675640e05f4
tree4b9640042567a13202011bf8543dfbfc6435c2ca
parent3a987fa6ecf36d2469a12ae028180d9acd723bfd
dhclient-script: fix bound

When we get a BOUND we should have only new_* variables set.
So it is stated in the manpage.
Apparently, also old_* variables are set so we never got into the block where the IP address was set.
We now always set a new IP Address when we get a BOUND.

Fixes: #11363
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Jonatan Schlag &lt;<a href="mailto:jonatan.schlag@ipfire.org">jonatan.schlag@ipfire.org</a>&gt;
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/dhclient-script