summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2006-02-23 14:19:13 +0000
committerclaudio <claudio@openbsd.org>2006-02-23 14:19:13 +0000
commitf4ec65ae4785a6c644a2af0c8b6fa0459c2d242d (patch)
tree5a1bfb2c95411063593f26bc6824de6f5c2da4c6
parentUntil now it was only possible to unset the RTF_JUMBO flag on a RTM_CHANGE (diff)
downloadwireguard-openbsd-f4ec65ae4785a6c644a2af0c8b6fa0459c2d242d.tar.xz
wireguard-openbsd-f4ec65ae4785a6c644a2af0c8b6fa0459c2d242d.zip
Update struct rt_msghdr. rtm_use is deprecated and is now know as rtm_fmask.
rtm_fmask is used on RTM_CHANGE to unset certain flags. OK mcbride@
-rw-r--r--share/man/man4/route.45
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man4/route.4 b/share/man/man4/route.4
index 5156709bce8..d4c45dd6ddc 100644
--- a/share/man/man4/route.4
+++ b/share/man/man4/route.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.4,v 1.21 2005/06/12 18:57:57 naddy Exp $
+.\" $OpenBSD: route.4,v 1.22 2006/02/23 14:19:13 claudio Exp $
.\" $NetBSD: route.4,v 1.3 1994/11/30 16:22:31 jtc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -227,7 +227,8 @@ struct rt_msghdr {
pid_t rtm_pid; /* identify sender */
int rtm_seq; /* for sender to identify action */
int rtm_errno; /* why failed */
- int rtm_use; /* from rtentry */
+ int rtm_use; /* deprecated use rtm_rmx->rmx_pksent */
+#define rtm_fmask rtm_use /* bitmask used in RTM_CHANGE message */
u_long rtm_inits; /* which metrics we are initializing */
struct rt_metrics rtm_rmx; /* metrics themselves */
};