Skip to content

Commit

Permalink
Merge pull request #548 from mcnewton/v3.0.x
Browse files Browse the repository at this point in the history
Add more incoming DHCP packet types to config
  • Loading branch information
alandekok committed Mar 14, 2014
2 parents 6403859 + 3c36919 commit bb7cd9d
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions raddb/sites-available/dhcp
Expand Up @@ -204,15 +204,30 @@ dhcp DHCP-Request {
}

#
# There should be a separate section for each DHCP message type.
# Other DHCP packet types
#
# There should be a separate section for each DHCP message type.
# By default this configuration will ignore them all. Any packet type
# not defined here will be responded to with a DHCP-NAK.

dhcp DHCP-Decline {
update reply {
DHCP-Message-Type = DHCP-Do-Not-Respond
}
reject
}

dhcp DHCP-Inform {
# The DHCP-Message-Type attribute will tell the server which
# type of packet to respond with. If this is not set, then
# "handled" will not return a response, whereas all other
# rcodes will return a "NAK".
#
# Send a DHCP NAK.
update reply {
DHCP-Message-Type = DHCP-Do-Not-Respond
}
reject
}

dhcp DHCP-Release {
update reply {
DHCP-Message-Type = DHCP-Do-Not-Respond
}
reject
}

Expand Down

0 comments on commit bb7cd9d

Please sign in to comment.