/** @file\r
Transmit the IP4 packet.\r
\r
-Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
CacheEntry = Ip4Route (IpSb->DefaultRouteTable, Head->Dst, Head->Src);\r
} else {\r
CacheEntry = Ip4Route (IpInstance->RouteTable, Head->Dst, Head->Src);\r
+ //\r
+ // If failed to route the packet by using the instance's route table,\r
+ // try to use the default route table.\r
+ //\r
+ if (CacheEntry == NULL) {\r
+ CacheEntry = Ip4Route (IpSb->DefaultRouteTable, Head->Dst, Head->Src);\r
+ }\r
}\r
\r
if (CacheEntry == NULL) {\r