pfcp: fix missing vty_write of pfcp local-port

Change-Id: I180e67b8abdd3c0d91b30f1e7668b02f1a323809
This commit is contained in:
Neels Hofmeyr 2024-01-20 08:36:57 +01:00
parent 4ec1c77f9c
commit 5fd2aa5dc4
2 changed files with 3 additions and 0 deletions

View File

@ -945,6 +945,8 @@ static int config_write_hnbgw_pfcp(struct vty *vty)
vty_out(vty, " pfcp%s", VTY_NEWLINE);
if (g_hnbgw->config.pfcp.local_addr)
vty_out(vty, " local-addr %s%s", g_hnbgw->config.pfcp.local_addr, VTY_NEWLINE);
if (g_hnbgw->config.pfcp.local_port)
vty_out(vty, " local-port %u%s", g_hnbgw->config.pfcp.local_port, VTY_NEWLINE);
if (g_hnbgw->config.pfcp.remote_addr)
vty_out(vty, " remote-addr %s%s", g_hnbgw->config.pfcp.remote_addr, VTY_NEWLINE);

View File

@ -50,6 +50,7 @@ hnbgw
...
pfcp
local-addr 127.0.0.1
local-port 8805
remote-addr 127.0.0.2
msc 0
...