summaryrefslogtreecommitdiff
path: root/Toolchain
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-05-31 00:04:27 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-05-31 13:21:19 +0430
commit808855d763a0b671cb50447f0bc00c6536dbc78d (patch)
tree1755c97baff3295bfbb7a7ccbb22a3e3df5f18c3 /Toolchain
parentdf8df947f64bc3e240c47d81b19476d40b0e2b18 (diff)
downloadserenity-808855d763a0b671cb50447f0bc00c6536dbc78d.zip
DHCPClient: Don't reset the interface if its already configured
Resetting the interface just based on the fact that it already has an IP assigned doesn't make much sense, considering that we frequently end up here after having configured an interface via DHCP already. Instead, just keep the part that prevents us from sending DHCP discoveries to interfaces that shouldn't be using DHCP. While we are at it, place some of the logging behind a debug flag, as this function is apparently meant to be run frequently. This partially reverts commit e14d4482a18f250787cbf64bae596de1f7278d8d.
Diffstat (limited to 'Toolchain')
0 files changed, 0 insertions, 0 deletions