From 358716ad3a5d5123069af54af21434f7894d1a69 Mon Sep 17 00:00:00 2001 From: bket Date: Fri, 27 Jul 2018 06:26:38 +0000 Subject: [PATCH] Enable slaacctl(8) to print information on an advertised MTU. OK florian@ --- usr.sbin/slaacctl/slaacctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/slaacctl/slaacctl.c b/usr.sbin/slaacctl/slaacctl.c index 5b2a22f12e6..c5e2b7ba68a 100644 --- a/usr.sbin/slaacctl/slaacctl.c +++ b/usr.sbin/slaacctl/slaacctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: slaacctl.c,v 1.14 2018/04/27 10:02:15 florian Exp $ */ +/* $OpenBSD: slaacctl.c,v 1.15 2018/07/27 06:26:38 bket Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -228,6 +228,8 @@ show_interface_msg(struct imsg *imsg) printf("\t\tDefault Router Preference: %s\n", cei_ra->rpref); printf("\t\tReachable Time: %9ums, Retrans Timer: %9ums\n", cei_ra->reachable_time, cei_ra->retrans_time); + if (cei_ra->mtu) + printf("\t\tMTU: %u bytes\n", cei_ra->mtu); break; case IMSG_CTL_SHOW_INTERFACE_INFO_RA_PREFIX: cei_ra_prefix = imsg->data; -- 2.20.1