meta-google: network-sh: Fix eui64

Re-read the spec and realized the bit being used was off by 1.

Change-Id: I02d0e747f5e47cfbf3a8c4f4b9e45d16a6f8c8b1
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-google/recipes-google/networking/network-sh/lib.sh b/meta-google/recipes-google/networking/network-sh/lib.sh
index b5d9382..e4acc67 100644
--- a/meta-google/recipes-google/networking/network-sh/lib.sh
+++ b/meta-google/recipes-google/networking/network-sh/lib.sh
@@ -45,10 +45,10 @@
   mac_to_bytes mac_bytes "$1" || return
 
   # Using EUI-64 conversion rules, create the suffix bytes from MAC bytes
-  # Invert bit-0 of the first byte, and insert 0xfffe in the middle.
+  # Invert bit-1 of the first byte, and insert 0xfffe in the middle.
   local suffix_bytes=(
     0 0 0 0 0 0 0 0
-    $((mac_bytes[0] ^ 1))
+    $((mac_bytes[0] ^ 2))
     ${mac_bytes[@]:1:2}
     $((0xff)) $((0xfe))
     ${mac_bytes[@]:3:3}
diff --git a/meta-google/recipes-google/networking/network-sh/test.sh b/meta-google/recipes-google/networking/network-sh/test.sh
index 2803c09..9596eef 100755
--- a/meta-google/recipes-google/networking/network-sh/test.sh
+++ b/meta-google/recipes-google/networking/network-sh/test.sh
@@ -57,7 +57,7 @@
 
 test_mac_to_eui64() {
   str="$(mac_to_eui64 '12:34:56:78:90:af')" || fail
-  expect_streq "$str" '::1334:56ff:fe78:90af'
+  expect_streq "$str" '::1034:56ff:fe78:90af'
 }
 
 test_ip4_to_bytes() {