Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ endif
THIRD_PARTY= $(ACPICA_DIR)/.vendored $(LWIPDIR)/.vendored $(MBEDTLS_DIR)/.vendored

$(ACPICA_DIR)/.vendored: GITFLAGS= --depth 1 https://github.com/acpica/acpica.git -b R09_30_21
$(LWIPDIR)/.vendored: GITFLAGS= --depth 1 https://github.com/nanovms/lwip.git -b STABLE-2_1_x
$(LWIPDIR)/.vendored: GITFLAGS= --depth 1 https://github.com/tpjg/lwip.git -b STABLE-2_1_x
$(MBEDTLS_DIR)/.vendored: GITFLAGS= --depth 1 https://github.com/nanovms/mbedtls.git

kernel: $(THIRD_PARTY) contgen
Expand Down
2 changes: 2 additions & 0 deletions platform/pc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ SRCS-lwip= \
$(LWIPDIR)/src/core/ipv4/ip4_addr.c \
$(LWIPDIR)/src/core/ipv4/ip4_frag.c \
$(LWIPDIR)/src/core/ipv4/ip4.c \
$(LWIPDIR)/src/core/ipv4/ip4_route_table.c \
$(LWIPDIR)/src/core/ipv4/dhcp_classless_route.c \
$(LWIPDIR)/src/core/ipv6/dhcp6.c \
$(LWIPDIR)/src/core/ipv6/ethip6.c \
$(LWIPDIR)/src/core/ipv6/icmp6.c \
Expand Down
2 changes: 2 additions & 0 deletions platform/riscv-virt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ SRCS-lwip= \
$(LWIPDIR)/src/core/ipv4/ip4_addr.c \
$(LWIPDIR)/src/core/ipv4/ip4_frag.c \
$(LWIPDIR)/src/core/ipv4/ip4.c \
$(LWIPDIR)/src/core/ipv4/ip4_route_table.c \
$(LWIPDIR)/src/core/ipv4/dhcp_classless_route.c \
$(LWIPDIR)/src/core/ipv6/dhcp6.c \
$(LWIPDIR)/src/core/ipv6/ethip6.c \
$(LWIPDIR)/src/core/ipv6/icmp6.c \
Expand Down
2 changes: 2 additions & 0 deletions platform/virt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ SRCS-lwip= \
$(LWIPDIR)/src/core/ipv4/ip4_addr.c \
$(LWIPDIR)/src/core/ipv4/ip4_frag.c \
$(LWIPDIR)/src/core/ipv4/ip4.c \
$(LWIPDIR)/src/core/ipv4/ip4_route_table.c \
$(LWIPDIR)/src/core/ipv4/dhcp_classless_route.c \
$(LWIPDIR)/src/core/ipv6/dhcp6.c \
$(LWIPDIR)/src/core/ipv6/ethip6.c \
$(LWIPDIR)/src/core/ipv6/icmp6.c \
Expand Down
2 changes: 2 additions & 0 deletions src/net/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,5 @@ static inline int net_ip_input_hook(struct pbuf *pbuf, struct netif *input_netif
return 1;
return 0;
}

#define LWIP_DHCP_CLASSLESS_STATIC_ROUTES 1