From 644aafbc94a2c2bfb49b2352fe31452a1cddab27 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 3 Jan 2011 23:51:07 +0100 Subject: 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. --- src/vty_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vty_interface.c') 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; } -- cgit v1.2.3