diff options
| author | Your Name <you@example.com> | 2026-05-20 02:12:13 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-20 02:12:13 +0530 |
| commit | 4f713120dbedd37a3512c2ec1af0766025a59d57 (patch) | |
| tree | a6c72f0f1311cd44cd936f8dff6a6d432fcc30dc /main | |
| parent | 82f1fc0d5535eda3fc9eab799d81b3e220dbe4ef (diff) | |
fix: revert lwip hook to use main/firewall.c function
tollgate_core_ip4_canforward_filter is in a separate component that
lwip can't link against. Use the existing tollgate_ip4_canforward_filter
from main/firewall.c instead.
Diffstat (limited to 'main')
| -rw-r--r-- | main/lwip_tollgate_hooks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/lwip_tollgate_hooks.h b/main/lwip_tollgate_hooks.h index 2953c48..76017be 100644 --- a/main/lwip_tollgate_hooks.h +++ b/main/lwip_tollgate_hooks.h | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | 3 | ||
| 4 | #include "lwip/pbuf.h" | 4 | #include "lwip/pbuf.h" |
| 5 | 5 | ||
| 6 | int tollgate_core_ip4_canforward_filter(struct pbuf *p, u32_t dest_addr_hostorder); | 6 | int tollgate_ip4_canforward_filter(struct pbuf *p, u32_t dest_addr_hostorder); |
| 7 | 7 | ||
| 8 | #define LWIP_HOOK_IP4_CANFORWARD(p, addr) tollgate_core_ip4_canforward_filter(p, addr) | 8 | #define LWIP_HOOK_IP4_CANFORWARD(p, addr) tollgate_ip4_canforward_filter(p, addr) |
| 9 | 9 | ||
| 10 | #endif | 10 | #endif |