Skip to content

Commit

Permalink
examples/gnrc_border_router: set number of leases to number of ZEPs
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Feb 1, 2023
1 parent 0a453ae commit a693ecc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/gnrc_border_router/Makefile.native.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ZEP_PORT_MAX := $(shell expr $(ZEP_PORT_BASE) + $(ZEP_DEVICES) - 1)

CFLAGS += -DSOCKET_ZEP_MAX=$(ZEP_DEVICES)
CFLAGS += -DASYNC_READ_NUMOF=$(shell expr $(ZEP_DEVICES) + 1)
CFLAGS += -DCONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX=$(ZEP_DEVICES)

# Set CFLAGS if not being set via Kconfig
CFLAGS += $(if $(CONFIG_KCONFIG_MODULE_DHCPV6),,-DCONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX=$(ZEP_DEVICES))
Expand Down

0 comments on commit a693ecc

Please sign in to comment.