DE-CIX / pbgp-parser

PCAP BGP Parser
Other
84 stars 21 forks source link

Add helper function and filter for addpath feature (and small bug fix) #40

Closed cmoeller-dx closed 4 years ago

cmoeller-dx commented 4 years ago

I wrote a helper function for the addpath capabilty. In my opinion it is now more maintainable.

I also found a small bug in the Application/Handler.py file. There was a wrong filter applied, nameley MACSourceFilter() instead of MACDestinationFilter() This resulted in applying the MACSourceFilter twice and the MACDestinationFilter not even once.

Edit: Add PathIdentifierFilter. for example: --filter-pathid 1 will print update messages where the pathid is equal 1

cmoeller-dx commented 4 years ago

merged with private master. changes can be found in PR #42