summaryrefslogtreecommitdiff
path: root/sbin/unwind/unwind.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2020-09-12 17:01:04 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2020-09-12 17:01:04 +0000
commit8070a7256fd6c011b81e1d5a29904a3274e69884 (patch)
tree8f5dd8069b9afc76aa7681e666ca462b694b8340 /sbin/unwind/unwind.c
parent619015fd3c5a5f7e9404e8743f0832eb83d42784 (diff)
When an interface disapears we need to forget the learned autoconf
resolvers. OK kn
Diffstat (limited to 'sbin/unwind/unwind.c')
-rw-r--r--sbin/unwind/unwind.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/unwind/unwind.c b/sbin/unwind/unwind.c
index b17bf7e413c..885e8986cce 100644
--- a/sbin/unwind/unwind.c
+++ b/sbin/unwind/unwind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unwind.c,v 1.48 2020/08/29 22:29:27 jca Exp $ */
+/* $OpenBSD: unwind.c,v 1.49 2020/09/12 17:01:03 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -266,7 +266,8 @@ main(int argc, char *argv[])
AF_INET)) == -1)
fatal("route socket");
- rtfilter = ROUTE_FILTER(RTM_IFINFO) | ROUTE_FILTER(RTM_PROPOSAL);
+ rtfilter = ROUTE_FILTER(RTM_IFINFO) | ROUTE_FILTER(RTM_PROPOSAL)
+ | ROUTE_FILTER(RTM_IFANNOUNCE);
if (setsockopt(frontend_routesock, AF_ROUTE, ROUTE_MSGFILTER,
&rtfilter, sizeof(rtfilter)) == -1)
fatal("setsockopt(ROUTE_MSGFILTER)");