|
@@ -350,7 +350,7 @@ static int ipv4_ll_addr ( struct in_addr dest, struct in_addr src,
|
350
|
350
|
* @v pkb Packet buffer
|
351
|
351
|
* @v tcpip Transport-layer protocol
|
352
|
352
|
* @v st_dest Destination network-layer address
|
353
|
|
- * @v netdev Network device (or NULL to route automatically)
|
|
353
|
+ * @v netdev Network device to use if no route found, or NULL
|
354
|
354
|
* @v trans_csum Transport-layer checksum to complete, or NULL
|
355
|
355
|
* @ret rc Status
|
356
|
356
|
*
|
|
@@ -394,7 +394,7 @@ static int ipv4_tx ( struct pk_buff *pkb,
|
394
|
394
|
if ( ( rc = ipv4_ll_addr ( next_hop, iphdr->src, netdev,
|
395
|
395
|
ll_dest ) ) != 0 ) {
|
396
|
396
|
DBG ( "IPv4 has no link-layer address for %s: %s\n",
|
397
|
|
- inet_ntoa ( iphdr->dest ), strerror ( rc ) );
|
|
397
|
+ inet_ntoa ( next_hop ), strerror ( rc ) );
|
398
|
398
|
goto err;
|
399
|
399
|
}
|
400
|
400
|
|