Commit 4c0ef141 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3184] DHCPv4 RAI option is now echoed back if present.

parent de9b4b42
......@@ -576,6 +576,12 @@ Dhcpv4Srv::copyDefaultFields(const Pkt4Ptr& question, Pkt4Ptr& answer) {
if (dst_hw_addr) {
// If this packet is relayed, we want to copy Relay Agent Info option
OptionPtr rai = question->getOption(DHO_DHCP_AGENT_OPTIONS);
if (rai) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment