ecix / alice-lg

Alice - Through the Looking Glass
https://lg.ecix.net
Other
50 stars 3 forks source link

Route display fails if interface name contains dashes #12

Open lutoma opened 6 years ago

lutoma commented 6 years ago

Hi! Thanks for the great looking glass. I've noticed that Alice doesn't seem to be able to display routes for peers where the interface name contains a dash though, instead only displaying "unknown net", "unkown gateway" and "unknown interface".

For example, here the interface name is "wg.jrb0001-it": https://lg.dn42.lutoma.org/alice/routeservers/0/protocols/jrb0001_it/routes This one, with the interface name "wg.cccda" works: https://lg.dn42.lutoma.org/alice/routeservers/0/protocols/cccda/routes

annikahannig commented 6 years ago

Thanks for the bug report! Let me have a look^^