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

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