Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative AS Numbers (32Bit) #7

Closed
bhelm opened this issue Jun 26, 2017 · 1 comment
Closed

Negative AS Numbers (32Bit) #7

bhelm opened this issue Jun 26, 2017 · 1 comment

Comments

@bhelm
Copy link

bhelm commented Jun 26, 2017

Large 32-Bit AS-Numbers are displayed negative, i.e. 4294901906 is displayed as -65390
those numbers may be invalid, but as they are contained in the RIPE RIS dump, they could be displayed correctly.

# mabo prefixes rrc00-bview.gz | grep '^-'
-65390 59.101.1.0/24
-65390 59.101.2.0/24
-65390 59.101.3.0/24
-65390 59.101.4.0/24
-65390 59.101.5.0/24
-65390 59.101.6.0/24
-65390 59.101.7.0/24
-65390 59.101.8.0/24
-65390 59.101.9.0/24
-65390 59.101.10.0/24
-65415 59.101.15.0/24
-65430 59.101.114.0/24

bgpdump as reference:

TABLE_DUMP2|06/23/17 08:00:01|B|203.119.76.5|4608|59.101.1.0/24|4608 24130 2764 4294901906|IGP
ghost pushed a commit that referenced this issue Jun 26, 2017
@ghost
Copy link

ghost commented Jun 26, 2017

Thanks for reporting this issue. We were using the wrong printf conversion specifier (i instead of u).

@ghost ghost closed this as completed Jun 26, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant