From 1963605aed28e3df5e64a52341da0e094efa1770 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Fri, 26 Feb 2021 22:03:54 +0000 Subject: [PATCH] vpn-policy-routing: bugfix: netflix user file missing redirect Signed-off-by: Stan Grishin --- net/vpn-policy-routing/Makefile | 2 +- net/vpn-policy-routing/files/vpn-policy-routing.netflix.user | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/vpn-policy-routing/Makefile b/net/vpn-policy-routing/Makefile index a1e049ba98..f605b15b41 100644 --- a/net/vpn-policy-routing/Makefile +++ b/net/vpn-policy-routing/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=vpn-policy-routing PKG_VERSION:=0.3.2 -PKG_RELEASE:=14 +PKG_RELEASE:=16 PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin diff --git a/net/vpn-policy-routing/files/vpn-policy-routing.netflix.user b/net/vpn-policy-routing/files/vpn-policy-routing.netflix.user index 5747cd6799..02335c4b35 100644 --- a/net/vpn-policy-routing/files/vpn-policy-routing.netflix.user +++ b/net/vpn-policy-routing/files/vpn-policy-routing.netflix.user @@ -25,7 +25,7 @@ if [ ! -s "$TARGET_FNAME" ]; then if [ "$DB_SOURCE" = "api.bgpview.io" ]; then TARGET_URL="https://api.bgpview.io/asn/${TARGET_ASN}/prefixes" - curl -s "$TARGET_URL" 2>/dev/null | jsonfilter -e '@.data.ipv4_prefixes[*].prefix' + curl -s "$TARGET_URL" 2>/dev/null | jsonfilter -e '@.data.ipv4_prefixes[*].prefix' > "$TARGET_FNAME" fi fi -- 2.30.2