lib/pb-protocol: Fix NULL dereference on non-powerpc
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 21 Dec 2015 05:16:40 +0000 (16:16 +1100)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 21 Dec 2015 05:16:40 +0000 (16:16 +1100)
If not running on a powerpc platform the bmc_mac pointer remains NULL.
If this is the case set an address of zero when serialising rather
than dereferencing the pointer.

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>

No differences found