mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01:00
Merge pull request #14919 from stangri/21.02-vpn-policy-routing
[21.02] vpn-policy-routing: bugfix: netflix user file missing redirect
This commit is contained in:
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=vpn-policy-routing
|
PKG_NAME:=vpn-policy-routing
|
||||||
PKG_VERSION:=0.3.2
|
PKG_VERSION:=0.3.2
|
||||||
PKG_RELEASE:=14
|
PKG_RELEASE:=16
|
||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
|
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ if [ ! -s "$TARGET_FNAME" ]; then
|
|||||||
|
|
||||||
if [ "$DB_SOURCE" = "api.bgpview.io" ]; then
|
if [ "$DB_SOURCE" = "api.bgpview.io" ]; then
|
||||||
TARGET_URL="https://api.bgpview.io/asn/${TARGET_ASN}/prefixes"
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user