meta-google: gbmc-bridge: support fd1x public address

We have platforms using fd1x instead of fd00, this will make sure we
pick the correct ip address.

Change-Id: I9c385a43adb539cfbfdd80651c59b0c0eba05082
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
diff --git a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-gw-src.sh b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-gw-src.sh
index dd153ab..693c728 100644
--- a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-gw-src.sh
+++ b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-gw-src.sh
@@ -97,7 +97,7 @@
     if (( ip_bytes[0] & 0xfe == 0xfc || ip_bytes[8] != 0xfd )); then
       return 0
     fi
-    if (( ip_bytes[9] != 0 )); then
+    if (( ip_bytes[9] & 0x0f != 0 )); then
       local -n gbmc_br_gw_src_ip=gbmc_br_gw_src_ip_stateful
     else
       local -n gbmc_br_gw_src_ip=gbmc_br_gw_src_ip_stateless