Blame SOURCES/0017-ipmitool-1.8.18-check-input-values.patch

0794d8
diff -urNp old/doc/ipmitool.1 new/doc/ipmitool.1
0794d8
--- old/doc/ipmitool.1	2017-10-03 16:10:50.446539988 +0200
0794d8
+++ new/doc/ipmitool.1	2017-10-03 16:16:37.039673239 +0200
0794d8
@@ -3170,13 +3170,14 @@ SOL configuration data for the currently
0794d8
 
0794d8
 Enable, disable or show status of SOL payload for the user on the specified channel. 
0794d8
 .TP 
0794d8
-\fIset\fP <\fBparameter\fR> <\fBvalue\fR> [<\fBchannel\fR>]
0794d8
+\fIset\fP <\fBparameter\fR> <\fBvalue\fR> [<\fBchannel\fR>] [\fBnoguard\fR]
0794d8
 .br 
0794d8
 
0794d8
 Configure parameters for Serial Over Lan.  If no channel is given,
0794d8
 it will display SOL configuration data for the currently used
0794d8
 channel.  Configuration parameter updates are automatically guarded
0794d8
-with the updates to the set\-in\-progress parameter.
0794d8
+with the updates to the set\-in\-progress parameter, unless \fInoguard\fR
0794d8
+parameter is present.
0794d8
 .RS
0794d8
 .TP 
0794d8
 Valid parameters and values are:
0794d8
diff -urNp old/lib/ipmi_sol.c new/lib/ipmi_sol.c
0794d8
--- old/lib/ipmi_sol.c	2017-10-03 16:10:50.447539996 +0200
0794d8
+++ new/lib/ipmi_sol.c	2017-10-03 16:18:37.079006949 +0200
0794d8
@@ -1875,7 +1875,7 @@ static void
0794d8
 print_sol_usage(void)
0794d8
 {
0794d8
 	lprintf(LOG_NOTICE, "SOL Commands: info [<channel number>]");
0794d8
-	lprintf(LOG_NOTICE, "              set <parameter> <value> [channel]");
0794d8
+	lprintf(LOG_NOTICE, "              set <parameter> <value> [channel] [noguard]");
0794d8
 	lprintf(LOG_NOTICE, "              payload <enable|disable|status> [channel] [userid]");
0794d8
 	lprintf(LOG_NOTICE, "              activate [<usesolkeepalive|nokeepalive>] [instance=<number>]");
0794d8
 	lprintf(LOG_NOTICE, "              deactivate [instance=<number>]");
0794d8
@@ -1890,6 +1890,8 @@ print_sol_usage(void)
0794d8
 static void
0794d8
 print_sol_set_usage(void)
0794d8
 {
0794d8
+	lprintf(LOG_NOTICE, "\nSOL set usage: \n");
0794d8
+	lprintf(LOG_NOTICE, "  sol set <parameter> <value> [channel] [noguard]\n");
0794d8
 	lprintf(LOG_NOTICE, "\nSOL set parameters and values: \n");
0794d8
   	lprintf(LOG_NOTICE, "  set-in-progress             set-complete | "
0794d8
 		"set-in-progress | commit-write");