]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Determine the address to be used to identify client subnet
authorNick Porter <nick@portercomputing.co.uk>
Tue, 15 Sep 2020 12:00:14 +0000 (13:00 +0100)
committerAlan DeKok <aland@freeradius.org>
Thu, 24 Sep 2020 14:22:07 +0000 (10:22 -0400)
commitaedfb5d3bddad5036f2c19dc0c7b177fb4acdb7a
treef86821b6a809375550f9eceed8c98b42cc885f53
parent37e62bda5a2bce40062e0c06a2fdf3e9a54f18a2
Determine the address to be used to identify client subnet

After parsing the DHCP packet, check Relay-Link-Selection option,
Subnet-Selection-Option option then giaddr and finally ciaddr to
determine address to lookup client's subnet.
src/protocols/dhcpv4/attrs.h
src/protocols/dhcpv4/base.c
src/protocols/dhcpv4/packet.c