From 96f58646607f554b05e1c4f32e1cefe85f0346e6 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 10 Jun 2025 13:37:31 +0100 Subject: [ipv4] Add self-tests for IPv4 routing Signed-off-by: Michael Brown --- src/net/ipv4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') diff --git a/src/net/ipv4.c b/src/net/ipv4.c index 5d0cb0f9a..425656f6c 100644 --- a/src/net/ipv4.c +++ b/src/net/ipv4.c @@ -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 */ -- cgit v1.2.3-55-g7522