diff options
author | 2016-09-15 12:51:20 +0000 | |
---|---|---|
committer | 2016-09-15 12:51:20 +0000 | |
commit | f1a5d741f78087299e3f01c78154ab187770a9b4 (patch) | |
tree | fdb8252ca05d2a7ff2365461bad16e862c9b3888 | |
parent | protect a kernel only structure with _KERNEL, means userland doesn't (diff) | |
download | wireguard-openbsd-f1a5d741f78087299e3f01c78154ab187770a9b4.tar.xz wireguard-openbsd-f1a5d741f78087299e3f01c78154ab187770a9b4.zip |
Add RTM_INVALIDATE as a route message, to keep the kernel and userland
lists in sync.
OK mpi@
-rw-r--r-- | sbin/route/route.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index 1892e2a1984..71496a29c9a 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.190 2016/09/04 09:41:03 claudio Exp $ */ +/* $OpenBSD: route.c,v 1.191 2016/09/15 12:51:20 phessler Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -1240,6 +1240,7 @@ char *msgtypes[] = { "RTM_IFINFO: iface status change", "RTM_IFANNOUNCE: iface arrival/departure", "RTM_DESYNC: route socket overflow", + "RTM_INVALIDATE: invalidate cache of L2 route", "RTM_BFD: bidirectional forwarding detection", }; |