diff options
| author | Michael Brown | 2025-06-10 14:37:31 +0200 |
|---|---|---|
| committer | Michael Brown | 2025-06-10 14:54:15 +0200 |
| commit | 96f58646607f554b05e1c4f32e1cefe85f0346e6 (patch) | |
| tree | 2a3eec9dc7b8d7e4cafbd98b71a39ca14ecff509 /src/net | |
| parent | [test] Add infrastructure for test network devices (diff) | |
| download | ipxe-96f58646607f554b05e1c4f32e1cefe85f0346e6.tar.gz ipxe-96f58646607f554b05e1c4f32e1cefe85f0346e6.tar.xz ipxe-96f58646607f554b05e1c4f32e1cefe85f0346e6.zip | |
[ipv4] Add self-tests for IPv4 routing
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
| -rw-r--r-- | src/net/ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |
