aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-17 20:24:59 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-02-17 20:25:03 +0100
commit66e8a497345cc2c6ba375ac85158c3d0ab6f8736 (patch)
treed644f169b637b80e3b1ef41c7ec0170e07b2069f /src
parent94a367f224ff756335b29d1ae5954ebcfe33ae15 (diff)
vty: Write 'neighbor resolution' config to file
Fixes: c0a250d17d79e08763f77cdf58e970dc2e65e7d3 Related: SYS#4909 Change-Id: I44eef3826939e05ba88e0c5a67e1fef535582ba7
Diffstat (limited to 'src')
-rw-r--r--src/pcu_vty.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pcu_vty.c b/src/pcu_vty.c
index 6db8b054..92ff8eb4 100644
--- a/src/pcu_vty.c
+++ b/src/pcu_vty.c
@@ -250,6 +250,11 @@ static int config_write_pcu(struct vty *vty)
else
vty_out(vty, " gb-dialect classic%s", VTY_NEWLINE);
+ if (the_pcu->vty.neigh_ctrl_addr) {
+ vty_out(vty, " neighbor resolution %s %u%s",
+ the_pcu->vty.neigh_ctrl_addr, the_pcu->vty.neigh_ctrl_port, VTY_NEWLINE);
+ }
+
osmo_tdef_vty_write(vty, the_pcu->T_defs, " timer ");
return CMD_SUCCESS;