aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty/stats_vty.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-27 11:55:20 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-29 01:10:06 +0100
commit4aa11770622ae9009074d68cc8c340821b19adf3 (patch)
tree20ce50cdd489eec701bab766b1f5e6702218ad7e /src/vty/stats_vty.c
parentd01acfcc75a6c5798a95a8ccca9be18eba65a0bf (diff)
stats: Add missing mtu command to 'write' output
Currently the config_write_stats_reporter function does not output the mtu value, which is fixed by this commit. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/vty/stats_vty.c')
-rw-r--r--src/vty/stats_vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vty/stats_vty.c b/src/vty/stats_vty.c
index 775184c9..0911fbb8 100644
--- a/src/vty/stats_vty.c
+++ b/src/vty/stats_vty.c
@@ -290,6 +290,9 @@ static int config_write_stats_reporter(struct vty *vty, struct stats_reporter *s
if (srep->bind_addr_str)
vty_out(vty, " local-ip %s%s",
srep->bind_addr_str, VTY_NEWLINE);
+ if (srep->mtu)
+ vty_out(vty, " mtu %d%s",
+ srep->mtu, VTY_NEWLINE);
if (srep->name_prefix && *srep->name_prefix)
vty_out(vty, " prefix %s%s",
srep->name_prefix, VTY_NEWLINE);