contrib: Add asmap-tool
Co-authored-by: Pieter Wuille <pieter@wuille.net>
This commit is contained in:
1 parent
8da62a1041
commit
6abe772a17
4 files changed
+176
-3
No files matched your search
@@ -9,11 +9,14 @@
|
||||
import argparse
|
||||
import collections
|
||||
import ipaddress
|
||||
from pathlib import Path
|
||||
import re
|
||||
import sys
|
||||
from typing import Union
|
||||
|
||||
from asmap import ASMap, net_to_prefix
|
||||
asmap_dir = Path(__file__).parent.parent / "asmap"
|
||||
sys.path.append(str(asmap_dir))
|
||||
from asmap import ASMap, net_to_prefix # noqa: E402
|
||||
|
||||
NSEEDS=512
|
||||
|
||||
|
||||
Reference in new issue
Block a user