Commit b78dc553 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[master] Merge branch 'trac3343' (DHCPv4 client classification fix)

parents 5d336003 1801400a
764. [bug] tomek
b10-dhcp4: Fixed a bug caused client classification to not work
(Trac #3343, git 1801400ac874380e7a565d373b4bae96a49e21f7)
763. [func] tmark
b10-dhcp-ddns may now be configured to disable DNS updates in
in a given direction by simply not defining any domains for that
......@@ -232,6 +232,11 @@ Dhcpv4Srv::run() {
// Assign this packet to one or more classes if needed. We need to do
// this before calling accept(), because getSubnet4() may need client
// class information.
// Check whether the message should be further processed or discarded.
// There is no need to log anything here. This function logs by itself.
if (!accept(query)) {
......@@ -274,9 +279,6 @@ Dhcpv4Srv::run() {
callout_handle->getArgument("query4", query);
// Assign this packet to one or more classes if needed
try {
switch (query->getType()) {
Markdown is supported
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