upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-20 02:12:13 +0530
committerYour Name <you@example.com>2026-05-20 02:12:13 +0530
commit4f713120dbedd37a3512c2ec1af0766025a59d57 (patch)
treea6c72f0f1311cd44cd936f8dff6a6d432fcc30dc /main
parent82f1fc0d5535eda3fc9eab799d81b3e220dbe4ef (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.h4
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
6int tollgate_core_ip4_canforward_filter(struct pbuf *p, u32_t dest_addr_hostorder); 6int 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