althea-net / open5gs

Open5GS is a C-language Open Source implementation for 5G Core and EPC, i.e. the core network of LTE/NR network (Release-16)
https://open5gs.org
GNU Affero General Public License v3.0
1 stars 1 forks source link

[open5gs-dbctl] command-line feature to add an apn #91

Closed spencersevilla closed 1 month ago

spencersevilla commented 1 month ago

As written the open5gs-dbctl update_apn feature only supports dynamic IP addressing, and also had a bug. This feature (a) fixes that bug and (b) provides support for an optional IPv4 address. Syntax keys on the number of arguments, similar to open5gs-dbctl add. Note that the default slice_num is usually 0.