mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
[ipv4] Add self-tests for IPv4 routing
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -157,8 +157,8 @@ static void del_ipv4_miniroute ( struct ipv4_miniroute *miniroute ) {
|
||||
* If the route requires use of a gateway, the next hop destination
|
||||
* address will be overwritten with the gateway address.
|
||||
*/
|
||||
static struct ipv4_miniroute * ipv4_route ( unsigned int scope_id,
|
||||
struct in_addr *dest ) {
|
||||
struct ipv4_miniroute * ipv4_route ( unsigned int scope_id,
|
||||
struct in_addr *dest ) {
|
||||
struct ipv4_miniroute *miniroute;
|
||||
|
||||
/* Find first usable route in routing table */
|
||||
|
||||
Reference in New Issue
Block a user