Skip to content

Commit 8b1f7f3

Browse files
committed
[#3588] Improved no test logs
1 parent bf4a69f commit 8b1f7f3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/bin/dhcp4/dhcp4_messages.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ const char* values[] = {
326326
"DHCP4_REQUEST", "%1: server is processing DHCPREQUEST with hint=%2",
327327
"DHCP4_REQUIRED_CLASS_EVAL_ERROR", "%1: Expression '%2' evaluated to %3",
328328
"DHCP4_REQUIRED_CLASS_EVAL_RESULT", "%1: Expression '%2' evaluated to %3",
329-
"DHCP4_REQUIRED_CLASS_NO_TEST", "required class %1 has no test expression",
329+
"DHCP4_REQUIRED_CLASS_NO_TEST", "required class %1 has no test expression, adding it to client's classes unconditionally",
330330
"DHCP4_REQUIRED_CLASS_UNDEFINED", "required class %1 has no definition",
331331
"DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED", "Multi-threading is enabled and host reservations lookup is always performed first.",
332332
"DHCP4_RESERVED_HOSTNAME_ASSIGNED", "%1: server assigned reserved hostname %2",

src/bin/dhcp4/dhcp4_messages.mes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ This debug message indicates that the expression of a required client class has
979979
been successfully evaluated. The client class name and the result value of the
980980
evaluation are printed.
981981

982-
% DHCP4_REQUIRED_CLASS_NO_TEST required class %1 has no test expression
982+
% DHCP4_REQUIRED_CLASS_NO_TEST required class %1 has no test expression, adding it to client's classes unconditionally
983983
Logged at debug log level 40.
984984
This debug message informs that a class was listed for required evaluation but
985985
its definition does not include a test expression to evaluate. The class is

src/bin/dhcp6/dhcp6_messages.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ const char* values[] = {
314314
"DHCP6_RELEASE_PD_FAIL_WRONG_IAID", "%1: client tried to release prefix %2/%3, but it used wrong IAID (expected %4, but got %5)",
315315
"DHCP6_REQUIRED_CLASS_EVAL_ERROR", "%1: Expression '%2' evaluated to %3",
316316
"DHCP6_REQUIRED_CLASS_EVAL_RESULT", "%1: Expression '%2' evaluated to %3",
317-
"DHCP6_REQUIRED_CLASS_NO_TEST", "required class %1 has no test expression",
317+
"DHCP6_REQUIRED_CLASS_NO_TEST", "required class %1 has no test expression, adding it to client's classes unconditionally",
318318
"DHCP6_REQUIRED_CLASS_UNDEFINED", "required class %1 has no definition",
319319
"DHCP6_REQUIRED_OPTIONS_CHECK_FAIL", "%1: %2 message received from %3 failed the following check: %4",
320320
"DHCP6_RESERVATIONS_LOOKUP_FIRST_ENABLED", "Multi-threading is enabled and host reservations lookup is always performed first.",

src/bin/dhcp6/dhcp6_messages.mes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ This debug message indicates that the expression of a required client class has
984984
been successfully evaluated. The client class name and the result value of the
985985
evaluation are printed.
986986

987-
% DHCP6_REQUIRED_CLASS_NO_TEST required class %1 has no test expression
987+
% DHCP6_REQUIRED_CLASS_NO_TEST required class %1 has no test expression, adding it to client's classes unconditionally
988988
Logged at debug log level 40.
989989
This debug message informs that a class was listed for required evaluation but
990990
its definition does not include a test expression to evaluate. The class is

0 commit comments

Comments
 (0)