Patch ifconfig from toolbox

ifconfig is frequently used although recently ip can replace it.
ifconfig in CPE is from android toolbox. Checked android repo,
it's not fixed in lollipop and is phased out in newest master repo.
This patch fixe two bugs:
1. ifconfig for non ip/netmask configured interface aborts.
2. ifconfig is hardcoded for little endian, will print reversed
   ip and netmask in big endian windcharger board.


Change-Id: I72bca78b7605c30ef3b86373538081b4eb02ad37
1 file changed