[tools/bgpgrep/bgpgrep_vmfunc.c] Minor style improvement

Better highlight the fact that n is not big endian format.
pull/2/head
Lorenzo Cogotti 3 years ago
parent f222daa08f
commit 7a18fb4211

@ -241,7 +241,7 @@ void BgpgrepF_BogonAsn(Bgpvm *vm)
goto nomatch; goto nomatch;
while ((asn = Bgp_NextAsPath(&it)) != -1) { while ((asn = Bgp_NextAsPath(&it)) != -1) {
Asn32 n = beswap32(ASN(asn)); Uint32 n = beswap32(ASN(asn));
// https://ripe72.ripe.net/wp-content/uploads/presentations/151-RIPE72_bogon_ASNs_JobSnijders.pdf // https://ripe72.ripe.net/wp-content/uploads/presentations/151-RIPE72_bogon_ASNs_JobSnijders.pdf
// https://www.manrs.org/2021/01/routing-security-terms-bogons-vogons-and-martians/ // https://www.manrs.org/2021/01/routing-security-terms-bogons-vogons-and-martians/

Loading…
Cancel
Save