Prevent flush from appending a random numeric value to the MAC addr

After using the OEM command to assign a new MAC address to the system
I found the mac-check script was always reassigning the MAC value on
every boot. This caused the NIC to go down unnecessarily. Replacing
the fflush, whatever that was, with the ostream.flush() function
prevents appending an unexpected garbage character.

Tested:
Removed ethaddr, eth1addr from u-boot
Removed /var/sofs/factory-settings/network/mac
Booted system, and confirmed the macdir exists, and is empty
Used "ipmitool raw 0x30 0xa1 0 <eth addr bytes>
Used "echo /var/sofs/factory-settings/network/mac/eth0"
Confirmed file did not have a bogus character added by fflush.
Created a file for eth1.

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