Hi,

I ran into this strange bug: 

> # cat /etc/vpp/demo
> bfd udp session add interface TenGigabitEthernet1/0/0 local-addr 192.0.2.2 
> peer-addr 192.0.2.1 desired-min-tx 100 required-min-rx 100 detect-mult 5
> ip route add 0.0.0.0/0 via 192.0.2.1
> 
> root@tr4:/etc/vpp# vppctl
>     _______    _        _   _____  ___
>  __/ __/ _ \  (_)__    | | / / _ \/ _ \
>  _/ _// // / / / _ \   | |/ / ___/ ___/
>  /_/ /____(_)_/\___/   |___/_/  /_/
> 
> vpp# exec /etc/vpp/demo
> vpp# Feb 13 10:50:42 tr4.retevia.eu vnet[54845]: bfd udp session add: Unknown 
> input `ip route add 0.0.0.0/0 via 192...

It looks like the bad command works fine when entered manually, but when 
executing it from a file it doesn't see the line endings and appends the next 
line(s) to the bad command, which then fails. I tried many different 
combinations (multiple newlines, \r\n line endings, different commands after 
the bad line) but all of them fail.

I'm not too familiar with the code, so does anybody have an idea where to start 
looking?

Cheers,
Sander


-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#8183): https://lists.fd.io/g/vpp-dev/message/8183
View All Messages In Topic (1): https://lists.fd.io/g/vpp-dev/topic/11144332
Mute This Topic: https://lists.fd.io/mt/11144332/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to