Project

General

Profile

Actions

Bug #5979

closed

@nsvc local port 0@ is not properly handled by osmo-bsc

Added by laforge about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
A-bis OML
Target version:
-
Start date:
03/27/2023
Due date:
% Done:

100%

Spec Reference:

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?

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)