Assuming that the other patches have been applied this patch enables
slaacctl(8) to print the set, advertised MTU.


diff --git usr.sbin/slaacctl/slaacctl.c usr.sbin/slaacctl/slaacctl.c
index 5b2a22f12e6..97b460aee08 100644
--- usr.sbin/slaacctl/slaacctl.c
+++ usr.sbin/slaacctl/slaacctl.c
@@ -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;

Reply via email to