Emit correct error code when "reserved" fields are modified.

The Set LAN Configuration IP Source command has reserved bits. Check
to make sure none of the bits are set. Return a 0xcc code when any of
them are.

Tested:
for val in $(seq 64 16 240)
do
ipmitool raw 0xc 1 3 4 $val
done

Each iteration returned a 0xcc code.
Used the "raw" style, as the "lan set" commands will not use the
invalid values.

Change-Id: I77f007453a3bede7424b0ccad9c5cb9bad9e8fe0
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
1 file changed