aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty_interface.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-03 23:51:07 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 11:21:11 +0100
commit644aafbc94a2c2bfb49b2352fe31452a1cddab27 (patch)
tree3e140e6454358d853eec32af370c87d6715f74b4 /src/vty_interface.c
parentc8405692b381e4079eeaf52f38610a6a24f64773 (diff)
mtp: Make the link_data be a child of the link_set
Change the order of the link and linkset. The link will be below the linkset. This change should make it more easy to introduce multiple linksets.
Diffstat (limited to 'src/vty_interface.c')
-rw-r--r--src/vty_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vty_interface.c b/src/vty_interface.c
index 6ddf549..0cf5929 100644
--- a/src/vty_interface.c
+++ b/src/vty_interface.c
@@ -72,7 +72,7 @@ static int config_write_cell(struct vty *vty)
vty_out(vty, " udp dest ip %s%s", bsc.udp_ip, VTY_NEWLINE);
vty_out(vty, " udp dest port %d%s", bsc.udp_port, VTY_NEWLINE);
vty_out(vty, " udp src port %d%s", bsc.src_port, VTY_NEWLINE);
- vty_out(vty, " udp reset %d%s", bsc.link.udp.reset_timeout, VTY_NEWLINE);
+ vty_out(vty, " udp reset %d%s", bsc.udp_reset_timeout, VTY_NEWLINE);
vty_out(vty, " msc ip %s%s", bsc.msc_address, VTY_NEWLINE);
vty_out(vty, " msc ip-dscp %d%s", bsc.msc_ip_dscp, VTY_NEWLINE);
vty_out(vty, " msc token %s%s", bsc.token, VTY_NEWLINE);
@@ -166,7 +166,7 @@ DEFUN(cfg_udp_reset, cfg_udp_reset_cmd,
"udp reset TIMEOUT",
"Set the timeout to take the link down")
{
- bsc.link.udp.reset_timeout = atoi(argv[0]);
+ bsc.udp_reset_timeout = atoi(argv[0]);
return CMD_SUCCESS;
}