diff options
| author | 2026-04-08 19:14:27 +0000 | |
|---|---|---|
| committer | 2026-04-08 19:14:27 +0000 | |
| commit | 85744de848c61f3908bf161ffd5464eebfb837e0 (patch) | |
| tree | 2ccd2b6a2f0a2a060a49b3dab675b076f158539d /lib_autopeer.py | |
| parent | add birdc command (diff) | |
minor updates
Diffstat (limited to 'lib_autopeer.py')
| -rw-r--r-- | lib_autopeer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_autopeer.py b/lib_autopeer.py index 84f9a74..cf3b66e 100644 --- a/lib_autopeer.py +++ b/lib_autopeer.py @@ -17,7 +17,8 @@ def _get_peer_info(name, asn): def _get_my_info(asn): return Peerdata( asn=MY_ASN, - port=((int(asn) % 10000) + 20000), + # TODO: better port logic + port=((int(asn) % 100000)), ipll=MY_IPLL, endpoint=MY_ENDPOINT, pubkey=MY_PUBKEY, |
