vlib: use error description when dropping packets 23/37023/2
authorArthur de Kerhor <arthurdekerhor@gmail.com>
Fri, 26 Aug 2022 08:57:35 +0000 (10:57 +0200)
committerNeale Ranns <neale@graphiant.com>
Mon, 29 Aug 2022 23:56:22 +0000 (23:56 +0000)
commita9bfef73a7b866eccf2a39b19c12ec46d41e484e
treef5fbaa914b27695e561dc87ac3e0de81e8cb7a3e
parent186b2156c02c785b16a6d3cd02d3d327928a5397
vlib: use error description when dropping packets

Using the error name makes it less explicit in the packet trace than
the error description when a packet is dropped. Example of the trace
when the TTL is <=1:

01:03:17:015278: drop
  ip4-input: time_expired

We should have "ip4 ttl <= 1" instead of "time_expired"

Type: fix
Change-Id: Ic9decf10d609cc938e39d0f449359e41c406267e
Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
src/vlib/drop.c