DE-CIX / pbgp-parser

PCAP BGP Parser
Other
85 stars 21 forks source link

-f LINE default seems broken #8

Closed de-cix-role closed 8 years ago

de-cix-role commented 8 years ago

If the option -f LINE is used the default output seems to be broken (pbgpp.py - -f LINE) :

45.122.140.0/23;45.122.154.0/23;45.127.72.0/22;45.127.212.0/22
45.118.168.0/22;45.118.128.0/22;45.118.92.0/22;45.118.192.0/22

45.118.168.0/22;45.118.128.0/22;45.118.92.0/22;45.118.192.0/22
45.118.168.0/22;45.118.128.0/22;45.118.92.0/22;45.118.192.0/22
45.118.168.0/22;45.118.128.0/22;45.118.92.0/22;45.118.192.0/22
45.118.168.0/22;45.118.128.0/22;45.118.92.0/22;45.118.192.0/22
45.118.168.0/22;45.118.128.0/22;45.118.92.0/22;45.118.192.0/22
45.118.212.0/22
45.118.212.0/22
45.118.212.0/22
45.118.212.0/22
45.118.212.0/22
45.118.212.0/22
45.118.212.0/22
45.118.212.0/22

There are empty lines. Also as delimiter a \t is the default on Unix command line tools.

thannaske commented 8 years ago

The delimiter \t is used to separate single fields. The delimiter ; is used to separate single values in each field. However I will have a look on the output bug.