Files
whois/add-as
Olaf Baumert eeb538bcde fix: Correct SCION AS to decimal conversion logic
- Remove incorrect ISD:AS:Instance interpretation
- SCION AS format is three 16-bit hex values (48-bit total)
- Only convert to decimal if result is within BGP range (0 to 2^32-1)
- Example: 0:1:f = (0<<32) + (1<<16) + 15 = 65551
- AS numbers like 2:0:17 exceed BGP range and remain in hex format
2025-06-03 11:08:16 +00:00

2.6 KiB
Executable File