Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64dca1a

Browse files
committed
Exclude ::/0 (fix#22)
1 parent54f139f commit64dca1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎generate.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ for file in operator/*.conf; do
1010
log_info"generating IP list of$operator ..."
1111
get_asn$file
1212
get_asn$file| xargs bgptools -b rib.txt| cidr-merger -s| grep -Fv:| cat> result/${operator}.txt&
13-
get_asn$file| xargs bgptools -b rib6.txt| cidr-merger -s| grep -F:| cat> result/${operator}6.txt&
13+
get_asn$file| xargs bgptools -b rib6.txt|grep -v'^::/0$'|cidr-merger -s| grep -F:| cat> result/${operator}6.txt&
1414
done
1515

1616
wait_exit

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp