diff options
-rw-r--r-- | sbin/slaacd/engine.c | 3 | ||||
-rw-r--r-- | sbin/slaacd/slaacd.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/slaacd/engine.c b/sbin/slaacd/engine.c index 228e0576409..a212ffde8db 100644 --- a/sbin/slaacd/engine.c +++ b/sbin/slaacd/engine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: engine.c,v 1.30 2018/07/27 06:20:01 bket Exp $ */ +/* $OpenBSD: engine.c,v 1.31 2018/07/27 06:23:08 bket Exp $ */ /* * Copyright (c) 2017 Florian Obser <florian@openbsd.org> @@ -888,6 +888,7 @@ send_interface_info(struct slaacd_iface *iface, pid_t pid) cei_ra.router_lifetime = ra->router_lifetime; cei_ra.reachable_time = ra->reachable_time; cei_ra.retrans_time = ra->retrans_time; + cei_ra.mtu = ra->mtu; engine_imsg_compose_frontend(IMSG_CTL_SHOW_INTERFACE_INFO_RA, pid, &cei_ra, sizeof(cei_ra)); diff --git a/sbin/slaacd/slaacd.h b/sbin/slaacd/slaacd.h index e2306438fda..05dff3b6e1d 100644 --- a/sbin/slaacd/slaacd.h +++ b/sbin/slaacd/slaacd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: slaacd.h,v 1.19 2018/07/23 17:25:52 florian Exp $ */ +/* $OpenBSD: slaacd.h,v 1.20 2018/07/27 06:23:08 bket Exp $ */ /* * Copyright (c) 2017 Florian Obser <florian@openbsd.org> @@ -111,6 +111,7 @@ struct ctl_engine_info_ra { uint16_t router_lifetime; /* in seconds */ uint32_t reachable_time; /* in milliseconds */ uint32_t retrans_time; /* in milliseconds */ + uint32_t mtu; }; struct ctl_engine_info_ra_prefix { |