Closed stv0g closed 4 years ago
E.g. my interfaces vpn-fra
are not parsed properly..
There is also another issue when parsing the interface and gateway:
bird only prints a gateway or the interface but never both at the same time: https://github.com/CZ-NIC/bird/blob/master/nest/rt-show.c#L89
Solved by #19
Currently birdwatcher parses interface names via the
\w
regex character class.However Linux seems to be much more flexible in regards to interface names: https://unix.stackexchange.com/questions/451368/allowed-chars-in-linux-network-interface-names
https://github.com/alice-lg/birdwatcher/blob/b7d8845eda2fcfdd4368984c36936e58e523d490/bird/parser.go#L86