The iterator i is not the option code, but simply the index for the
authorpatrick <patrick@openbsd.org>
Mon, 13 Aug 2018 14:10:26 +0000 (14:10 +0000)
committerpatrick <patrick@openbsd.org>
Mon, 13 Aug 2018 14:10:26 +0000 (14:10 +0000)
commitf4597f101c0bf97a73d4e948a95f2424b768c3ee
tree76f734139f32519c5eebc1994de20dbd0acdd62d
parente03a59bc6936927e7b0c94d3c2b4b098f2cafc04
The iterator i is not the option code, but simply the index for the
array that stores the option codes.  Fixes the issue where it named
an incorrect option on error.

Found by Florian Kaiser
ok krw@
sbin/dhclient/dhclient.c