Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
2de93abc
Commit
2de93abc
authored
Nov 25, 2015
by
Francis Dupont
Browse files
[4097a] Use dhcp4_logger for classification messages
parent
8aa346b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/dhcp4_srv.cc
View file @
2de93abc
...
...
@@ -848,7 +848,7 @@ Dhcpv4Srv::buildCfgOptionList(Dhcpv4Exchange& ex) {
if
(((
*
cclass
).
size
()
<=
VENDOR_CLASS_PREFIX
.
size
())
||
((
*
cclass
).
compare
(
0
,
VENDOR_CLASS_PREFIX
.
size
(),
VENDOR_CLASS_PREFIX
)
!=
0
))
{
// Not a VENDOR_CLASS_* so should be configured
LOG_DEBUG
(
options
4_logger
,
DBG_DHCP4_BASIC
,
DHCP4_CLASS_UNCONFIGURED
)
LOG_DEBUG
(
dhcp
4_logger
,
DBG_DHCP4_BASIC
,
DHCP4_CLASS_UNCONFIGURED
)
.
arg
(
ex
.
getQuery
()
->
getLabel
())
.
arg
(
*
cclass
);
}
...
...
@@ -2408,7 +2408,7 @@ void Dhcpv4Srv::classifyPacket(const Pkt4Ptr& pkt) {
}
if
(
!
classes
.
empty
())
{
LOG_DEBUG
(
options
4_logger
,
DBG_DHCP4_BASIC
,
DHCP4_CLASS_ASSIGNED
)
LOG_DEBUG
(
dhcp
4_logger
,
DBG_DHCP4_BASIC
,
DHCP4_CLASS_ASSIGNED
)
.
arg
(
pkt
->
getLabel
())
.
arg
(
classes
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment