From 418cb68ffe64e9359e2e991538ece442fafc0c94 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 27 Aug 2022 11:36:42 +0200 Subject: user/netstack: IP gateway, make networking work without a second vm --- src/user/app/netstack/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/app/netstack/proto.h') diff --git a/src/user/app/netstack/proto.h b/src/user/app/netstack/proto.h index 72a4fca..4d881ca 100644 --- a/src/user/app/netstack/proto.h +++ b/src/user/app/netstack/proto.h @@ -8,7 +8,7 @@ static const mac_t MAC_BROADCAST = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; extern struct net_state { mac_t mac; - uint32_t ip; + uint32_t ip, gateway; handle_t raw_h; } state; -- cgit v1.2.3