mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
fastd: update to v23
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@@ -8,13 +8,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=fastd
|
PKG_NAME:=fastd
|
||||||
PKG_VERSION:=22
|
PKG_VERSION:=23
|
||||||
PKG_RELEASE=3
|
|
||||||
|
|
||||||
PKG_MAINTAINER:=Matthias Schiffer <mschiffer@universe-factory.net>
|
PKG_MAINTAINER:=Matthias Schiffer <mschiffer@universe-factory.net>
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://github.com/neocturne/fastd/releases/download/v$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/neocturne/fastd/releases/download/v$(PKG_VERSION)
|
||||||
PKG_HASH:=19750b88705d66811b7c21b672537909c19ae6b21350688cbd1a3a54d08a8951
|
PKG_HASH:=dcab54485c79dda22ce6308a2a48764d53977a518952facd1204ba21af1c86e0
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-2-Clause LGPL-2.1-or-later
|
PKG_LICENSE:=BSD-2-Clause LGPL-2.1-or-later
|
||||||
PKG_LICENSE_FILES:=COPYRIGHT src/dep/libmnl/COPYING
|
PKG_LICENSE_FILES:=COPYRIGHT src/dep/libmnl/COPYING
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
From d95ae843845760aecbbc62a734c2b93b401b1834 Mon Sep 17 00:00:00 2001
|
|
||||||
Message-Id: <d95ae843845760aecbbc62a734c2b93b401b1834.1624798048.git.mschiffer@universe-factory.net>
|
|
||||||
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
||||||
Date: Sun, 27 Jun 2021 14:45:46 +0200
|
|
||||||
Subject: [PATCH] config: allow disabling L2TP offload when fastd doesn't
|
|
||||||
support it
|
|
||||||
|
|
||||||
Only attempting to enable the offloading should raise an error when it
|
|
||||||
is not supported.
|
|
||||||
---
|
|
||||||
src/config.y | 8 +++++---
|
|
||||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
--- a/src/config.y
|
|
||||||
+++ b/src/config.y
|
|
||||||
@@ -282,12 +282,14 @@ offload: TOK_L2TP boolean {
|
|
||||||
#ifdef WITH_OFFLOAD_L2TP
|
|
||||||
conf.offload_l2tp = $2;
|
|
||||||
#else
|
|
||||||
+ if ($2) {
|
|
||||||
# ifdef __linux__
|
|
||||||
- fastd_config_error(&@$, state, "L2TP offload is not supported by this build of fastd");
|
|
||||||
+ fastd_config_error(&@$, state, "L2TP offload is not supported by this build of fastd");
|
|
||||||
# else
|
|
||||||
- fastd_config_error(&@$, state, "L2TP offload is not supported on this platform");
|
|
||||||
+ fastd_config_error(&@$, state, "L2TP offload is not supported on this platform");
|
|
||||||
# endif
|
|
||||||
- YYERROR;
|
|
||||||
+ YYERROR;
|
|
||||||
+ }
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
;
|
|
||||||
Reference in New Issue
Block a user