When a network device is specified to tcpip_tx() or it's children, treat

it as a fallback network device rather than an explicitly forced network
device.

Clear routing table entries before re-attempting DHCP.
This commit is contained in:
Michael Brown
2007-01-16 04:09:13 +00:00
parent 1a1fc23417
commit f11da20f25
4 changed files with 7 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ int tcpip_rx ( struct pk_buff *pkb, uint8_t tcpip_proto,
* @v pkb Packet buffer
* @v tcpip_protocol Transport-layer protocol
* @v st_dest Destination address
* @v netdev Network device (or NULL to route automatically)
* @v netdev Network device to use if no route found, or NULL
* @v trans_csum Transport-layer checksum to complete, or NULL
* @ret rc Return status code
*/