Make the 'ifi' global local to dhclient.c and pass it as an argument to
authormpi <mpi@openbsd.org>
Tue, 23 Aug 2016 09:26:02 +0000 (09:26 +0000)
committermpi <mpi@openbsd.org>
Tue, 23 Aug 2016 09:26:02 +0000 (09:26 +0000)
commit916c3997e23ded6430381df1d1fa98bf1e7f1e9d
tree306054c66acfd9d82a75018680ea9bf3780a684b
parentbd27caa2fca00cfce281c1f48660e6cf3b127999
Make the 'ifi' global local to dhclient.c and pass it as an argument to
functions needing it.

This is the first step to support multiple interfaces in one dhclient(8)
instance.

ok krw@
sbin/dhclient/bpf.c
sbin/dhclient/clparse.c
sbin/dhclient/dhclient.c
sbin/dhclient/dhcpd.h
sbin/dhclient/dispatch.c
sbin/dhclient/kroute.c
sbin/dhclient/options.c
sbin/dhclient/packet.c
sbin/dhclient/privsep.c
sbin/dhclient/privsep.h