Mac addresses returned in reverse order in examples

Just in case for some bizarre reason it is different in other parts of the planet I have to state that I am using the shield in the uk.

My router reports that the mac address of the shield and of itself is in the reverse order of that shown in the example sketches.

This created difficulty when I started to configure my router to allocate a fixed IP to the WiFi101 shield. The router allocates the IP to the mac address I supply. Once I reversed the mac address supplied by the sketch, it worked.

Simply printing the mac address in the reverse order solves the issue:

  // print your MAC address:
  byte mac[6];
  Serial.print("MAC address: ");
  Serial.print(mac[0], HEX);
  Serial.print(mac[1], HEX);
  Serial.print(mac[2], HEX);
  Serial.print(mac[3], HEX);
  Serial.print(mac[4], HEX);
  Serial.println(mac[5], HEX);


@david this has been corrected in the following commit: Version 0.8.0 of the library has been released with the change.

@sandeepmistry, should not the examples be modified to print from 0 to 5? why have the order in byte array reversed in all WiFi libraries including WiFiNINA?