aboutsummaryrefslogtreecommitdiff
path: root/utils/asn_update.sh
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-04-01 08:58:53 +0200
committerLuca Deri <deri@ntop.org>2022-04-01 08:58:53 +0200
commit1e8cdd893cd6c7e9378b54ede7a215b761af4e9b (patch)
tree5292208e6283ed50f909fdb9d68c5bb806ac6dad /utils/asn_update.sh
parent0ff3e77c428d1ffc1cf13ff18a23835509eb2c20 (diff)
Moved geneated file to a separate folder
Diffstat (limited to 'utils/asn_update.sh')
-rwxr-xr-xutils/asn_update.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/asn_update.sh b/utils/asn_update.sh
index a023b2468..c104adc9b 100755
--- a/utils/asn_update.sh
+++ b/utils/asn_update.sh
@@ -25,36 +25,36 @@ function create_list() {
cd "$(dirname "${0}")" || return
echo "(1) Downloading Apple routes..."
-DEST="../src/lib/ndpi_asn_apple.c.inc"
+DEST="../src/lib/inc_generated/ndpi_asn_apple.c.inc"
create_list NDPI_PROTOCOL_APPLE $DEST "AS714" "AS6185" "AS2709"
echo "(3) Apple IPs are available in $DEST"
echo "(1) Downloading Facebook routes..."
-DEST=../src/lib/ndpi_asn_facebook.c.inc
+DEST=../src/lib/inc_generated/ndpi_asn_facebook.c.inc
create_list NDPI_PROTOCOL_FACEBOOK $DEST "AS63293" "AS54115" "AS34825" "AS32934"
echo "(3) Facebook IPs are available in $DEST"
echo "(1) Downloading Netflix routes..."
-DEST=../src/lib/ndpi_asn_netflix.c.inc
+DEST=../src/lib/inc_generated/ndpi_asn_netflix.c.inc
create_list NDPI_PROTOCOL_NETFLIX $DEST "AS55095" "AS40027" "AS394406" "AS2906"
echo "(3) Netflix IPs are available in $DEST"
echo "(1) Downloading Teamviewer routes..."
-DEST=../src/lib/ndpi_asn_teamviewer.c.inc
+DEST=../src/lib/inc_generated/ndpi_asn_teamviewer.c.inc
create_list NDPI_PROTOCOL_TEAMVIEWER $DEST "AS43304" "AS212710" "AS208187" "AS208175"
echo "(3) Teamviewer IPs are available in $DEST"
echo "(1) Downloading Telegram routes..."
-DEST=../src/lib/ndpi_asn_telegram.c.inc
+DEST=../src/lib/inc_generated/ndpi_asn_telegram.c.inc
create_list NDPI_PROTOCOL_TELEGRAM $DEST "AS62041" "AS62014" "AS59930" "AS44907" "AS211157"
echo "(3) Telegram IPs are available in $DEST"
echo "(1) Downloading Twitter routes..."
-DEST=../src/lib/ndpi_asn_twitter.c.inc
+DEST=../src/lib/inc_generated/ndpi_asn_twitter.c.inc
create_list NDPI_PROTOCOL_TWITTER $DEST "AS63179" "AS54888" "AS35995" "AS13414"
echo "(3) Twitter IPs are available in $DEST"
echo "(1) Downloading Webex routes..."
-DEST=../src/lib/ndpi_asn_webex.c.inc
+DEST=../src/lib/inc_generated/ndpi_asn_webex.c.inc
create_list NDPI_PROTOCOL_WEBEX $DEST "AS6577" "AS399937" "AS16472" "AS13445"
echo "(3) Webex IPs are available in $DEST"