Commit 9e14f6e2 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3343] Classification is now done before calling accept()

parent e26e83b4
......@@ -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()) {
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