summaryrefslogtreecommitdiff
path: root/libexec/rshd
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-03-22 23:58:52 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-03-22 23:58:52 +0000
commit69f28996217b3d38429590a7202bd7e55b7f6e97 (patch)
tree27faec8ad309a9a152cca896d913972351a592e7 /libexec/rshd
parent699d62499842d9055e3dba86bdfb10b9c92b611c (diff)
Ignore client-identifier option in leases from a server. They're not supposed
to be there! Instead, always record the client-identifier used to obtain the lease. Ignore recorded leases that have a different client-identifier than the one currently in force. If a client-identifier is not specified in the dhclient.conf file, construct one from the network type and MAC, like most other clients out there do these days. Thus, if one plugs in a different USB network adapter, renewing the previous lease (which upsets servers due to the MAC being different) is skipped and DISCOVER is attempted at once. Issue noted and fix tested by tedu@.
Diffstat (limited to 'libexec/rshd')
0 files changed, 0 insertions, 0 deletions