summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2018-08-13 14:10:26 +0000
committerpatrick <patrick@openbsd.org>2018-08-13 14:10:26 +0000
commitf4597f101c0bf97a73d4e948a95f2424b768c3ee (patch)
tree76f734139f32519c5eebc1994de20dbd0acdd62d /usr.bin/netstat/main.c
parentAdd a test covering the recently fixed issue with dangling knote references upon (diff)
downloadwireguard-openbsd-f4597f101c0bf97a73d4e948a95f2424b768c3ee.tar.xz
wireguard-openbsd-f4597f101c0bf97a73d4e948a95f2424b768c3ee.zip
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@
Diffstat (limited to 'usr.bin/netstat/main.c')
0 files changed, 0 insertions, 0 deletions