On Mon, Jun 12, 2023 at 01:08:15PM +0200, Alexander Zubkov via Bird-users wrote: > Hi, > > The main concern is that a 6-byte bytestring conflicts with the MAC address > representation. Bird does not have the type for it currently, but who > knows, it might need it in the future. So we might need some new syntax for > bytestring in that case. Or it can be postponed to later time. In this case > introduction of MAC-address lexems would break configs that use 6-byte > bytestrings (if we want to care much about those).
Hi I already added MAC-address lexem and shortened minimum bytestring length to 9 bytes in EVPN branch (to represent 10-byte ESI) : https://gitlab.nic.cz/labs/bird/-/commit/cf0661c9762090231c9f2d973968a7ce9f98407e So i would keep it at that limit and used e.g. hex:XX:YY:... syntax for shorter ones. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."