From: bket Date: Fri, 27 Jul 2018 06:26:38 +0000 (+0000) Subject: Enable slaacctl(8) to print information on an advertised MTU. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=358716ad3a5d5123069af54af21434f7894d1a69;p=openbsd Enable slaacctl(8) to print information on an advertised MTU. OK florian@ --- 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;