When you create a UDP interface via csp add udp -l 5000 -r 5001 1 0.0.0.0, the new interface has the name "UDP", without an index number. This makes it impossible to create further working UDP interfaces.
To fix this, in src/csp_init_cmd.c, the generated name needs to be duplicated to iface->name and the hardcoded line iface->name = "UDP" needs to be removed from lib/csp/src/interfaces/csp_if_udp.c
When you create a UDP interface via
csp add udp -l 5000 -r 5001 1 0.0.0.0, the new interface has the name "UDP", without an index number. This makes it impossible to create further working UDP interfaces.To fix this, in
src/csp_init_cmd.c, the generated name needs to be duplicated toiface->nameand the hardcoded lineiface->name = "UDP"needs to be removed fromlib/csp/src/interfaces/csp_if_udp.c