diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-14 20:30:34 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-02-14 20:30:34 +0100 |
commit | f56b09145f9faeed061fb42f484acca226bfd914 (patch) | |
tree | d80414c147a915ff65351dc507317e2f91bb7d02 /packages/isc-dhcp/patches/0003-fix-compilation-errors.patch | |
parent | 22959ce1c0ab80b9be03492cb651e364b21bc126 (diff) | |
download | vyos-build-f56b09145f9faeed061fb42f484acca226bfd914.tar.gz vyos-build-f56b09145f9faeed061fb42f484acca226bfd914.zip |
isc-dhcp: T5965: add custom package build with dhclient patches for WWAN
Diffstat (limited to 'packages/isc-dhcp/patches/0003-fix-compilation-errors.patch')
-rw-r--r-- | packages/isc-dhcp/patches/0003-fix-compilation-errors.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/packages/isc-dhcp/patches/0003-fix-compilation-errors.patch b/packages/isc-dhcp/patches/0003-fix-compilation-errors.patch new file mode 100644 index 00000000..c66e0c7c --- /dev/null +++ b/packages/isc-dhcp/patches/0003-fix-compilation-errors.patch @@ -0,0 +1,48 @@ +From 58e0d3317795987b2f1ca788645196d0e3543f88 Mon Sep 17 00:00:00 2001 +From: Adam Smith <zero1three@gmail.com> +Date: Tue, 23 Jan 2024 21:47:00 -0500 +Subject: [PATCH 3/4] fix compilation errors + +--- + common/lpf.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/common/lpf.c b/common/lpf.c +index 75609f5..1561d71 100644 +--- a/common/lpf.c ++++ b/common/lpf.c +@@ -195,6 +195,7 @@ static void lpf_tr_filter_setup (struct interface_info *); + #endif + + static void lpf_gen_filter_setup (struct interface_info *); ++static void lpf_pureip_gen_filter_setup (struct interface_info *); + + void if_register_receive (info) + struct interface_info *info; +@@ -215,14 +216,13 @@ void if_register_receive (info) + } + #endif + +- + #if defined (HAVE_TR_SUPPORT) + if (info -> hw_address.hbuf [0] == HTYPE_IEEE802) + lpf_tr_filter_setup (info); + else + #endif + if (info -> hw_address.hbuf [0] == HTYPE_PUREIP) +- lpf_pureip_filter_setup (info); ++ lpf_pureip_gen_filter_setup (info); + else + lpf_gen_filter_setup (info); + +@@ -349,6 +349,7 @@ static void lpf_pureip_gen_filter_setup (info) + } + } + ++ + #if defined (HAVE_TR_SUPPORT) + static void lpf_tr_filter_setup (info) + struct interface_info *info; +-- +2.39.2 + |