bgp / stayrtr

RPKI-To-Router server implementation in Go
BSD 3-Clause "New" or "Revised" License
91 stars 13 forks source link

More test code #36

Closed mellowdrifter closed 2 years ago

mellowdrifter commented 2 years ago

as checkPrefixLengths is returning a bool, I changed the name to isXXX(). Also added a check where MaxLength is 0 means invalid.

Worked on processData. Added description and added tests. Adjusted some logic slightly to make it more readable.

job commented 2 years ago

Thank you!