summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2018-07-05 13:48:07 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2018-07-05 13:48:07 +0000
commit692741b43bfda1f9eab023a9a3b0284cc7b16325 (patch)
treec3256ebeacef59dabd98b6c792d8a51249430558
parente84c73d22ba4f3921a427cf40cad9f674ad9c4f7 (diff)
RTM_BFD route messages are also a special case. suggested by claudio@,
ok phessler@
-rw-r--r--sys/net/rtsock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 0046059336b..d77cea48379 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.274 2018/07/05 11:59:26 benno Exp $ */
+/* $OpenBSD: rtsock.c,v 1.275 2018/07/05 13:48:06 benno Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -474,6 +474,7 @@ next:
case RTM_NEWADDR:
case RTM_DELADDR:
case RTM_IFINFO:
+ case RTM_BFD:
/* check against rdomain id */
if (rop->rop_rtableid != RTABLE_ANY &&
rtable_l2(rop->rop_rtableid) != rtm->rtm_tableid)