31 lines
969 B
Diff
31 lines
969 B
Diff
|
From 385a065550fba6afc9132df07b8ef9da40431c55 Mon Sep 17 00:00:00 2001
|
||
|
From: Phil Sutter <phil@nwl.cc>
|
||
|
Date: Thu, 24 Mar 2022 19:09:22 +0100
|
||
|
Subject: [PATCH] read_config_yy: Drop extra argument from dlog() call
|
||
|
|
||
|
False priority value was never printed.
|
||
|
|
||
|
Fixes: dfb88dae65fbd ("conntrackd: change scheduler and priority via configuration file")
|
||
|
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||
|
(cherry picked from commit f2fed05adbd05df23a063e0a9f2809399d924c64)
|
||
|
---
|
||
|
src/read_config_yy.y | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/read_config_yy.y b/src/read_config_yy.y
|
||
|
index 4311cd6c9a2f5..6aee67623953b 100644
|
||
|
--- a/src/read_config_yy.y
|
||
|
+++ b/src/read_config_yy.y
|
||
|
@@ -1042,7 +1042,7 @@ scheduler_line : T_PRIO T_NUMBER
|
||
|
{
|
||
|
conf.sched.prio = $2;
|
||
|
if (conf.sched.prio < 0 || conf.sched.prio > 99) {
|
||
|
- dlog(LOG_ERR, "`Priority' must be [0, 99]\n", $2);
|
||
|
+ dlog(LOG_ERR, "`Priority' must be [0, 99]\n");
|
||
|
exit(EXIT_FAILURE);
|
||
|
}
|
||
|
};
|
||
|
--
|
||
|
2.34.1
|
||
|
|