From 4068c9b4184a0eb687281fe594f3d9075a9ca02b Mon Sep 17 00:00:00 2001 From: Quentin Armitage Date: Sat, 9 Nov 2024 17:50:03 +0000 Subject: [PATCH 1/2] INSTALL: update documentation for Alpine Linux Signed-off-by: Quentin Armitage --- INSTALL | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 3032c09a37..f83d9f31f9 100644 --- a/INSTALL +++ b/INSTALL @@ -97,8 +97,10 @@ For ipset support To build using clang/llvm apt install clang llvm -Alpine Linux +Alpine Linux (apk add ...) ------------ +For building packages + automake autoconf alpine-sdk The following libraries need to be installed: linux-headers iptables-dev ipset-dev libnl3-dev musl-dev libnftnl-dev and openssl-dev or libressl-dev For magic file identification support: From 042dc49f8781cbc914c06e99f15de94bd153d4e2 Mon Sep 17 00:00:00 2001 From: Quentin Armitage Date: Sun, 10 Nov 2024 11:31:40 +0000 Subject: [PATCH 2/2] vrrp: fix reading of iproute2 conf files when directories don't exist Signed-off-by: Quentin Armitage --- lib/rttables.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/rttables.c b/lib/rttables.c index c381aa0f74..f1c960c086 100644 --- a/lib/rttables.c +++ b/lib/rttables.c @@ -412,8 +412,9 @@ initialise_list(list_head_t *l, const char *file_name, const rt_entry_t *default read_file(path, l, max); } + + closedir(dir); } - closedir(dir); #endif /* Now read the entries in the IPROUTE_ETC_DIR subdirectory */ @@ -425,8 +426,9 @@ initialise_list(list_head_t *l, const char *file_name, const rt_entry_t *default read_file(path, l, max); } + + closedir(dir); } - closedir(dir); FREE_PTR(path); #ifdef IPROUTE_USR_DIR