Ah. OK, now it's changed to the hopefully better name "unformat_udp_port". / Elias
On Fri, 2020-05-29 at 00:32 +0200, Andrew 👽 Yourtchenko wrote: > > On 29 May 2020, at 00:02, Elias Rudberg <elias.rudb...@bahnhof.net> > > wrote: > > > > I changed the fix using %U and a new unformat_l3_port function, as > > suggested by Paul: > > > > https://gerrit.fd.io/r/c/vpp/+/27280 > > My opinion it’s an incorrect and unnecessary > generalization/abstraction: > > 1) port is a L4 concept, not L3. Cf name. > > 2) no one said all L4 ports are/have to be a u16, or that the L4 has > to have a concept of port. Don’t let TCP/UDP monoculture fool you. > > But, 🤷♂️. > > —a >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16567): https://lists.fd.io/g/vpp-dev/message/16567 Mute This Topic: https://lists.fd.io/mt/74491544/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-