Bug #5979
closed@nsvc local port 0@ is not properly handled by osmo-bsc
100%
Description
I've recently started osmo-bsc using an old config file, and then saved the config again.
In the old config file there was no nsvc 0 local udp port
configured. Not sure why, and whether that ever worked. However, the problem is that the PCU obviously cannot bind to port 0, and will keep re-starting.
We should have a sane default value for the local UDP port (like our usual 23000). "0" is not a sane default, as it can never work. The user might simply add remote ip/port and not explicitly set a local port and run into that problem.
Maybe we shouldn't even permit a local/remote port number 0 in the VTY and instead use <1-65535>. Or the 0
becomes the implicit This NSVC is not configured? But in that case we should probably suppress printing anything about it?