summaryrefslogtreecommitdiff
path: root/sbin/route/route.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2019-11-09 17:14:02 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2019-11-09 17:14:02 +0000
commitbfb6d1c0358ee8f5c9f6ede9db29e7906ceaf2d0 (patch)
tree5c80033b6c0b2a2ca4c8a0b72716b8031fda3302 /sbin/route/route.c
parent6e03bb45be5d11fe00839093ae0c76a05df73f97 (diff)
Add RTP_PROPOSAL_SOLICIT to allow unwind(8) to solicit DNS proposals
from slaacd and dhclient when it starts. Discussed with deraadt who notes that it's a bit odd to have this as a route priority. One idea is to have this as a dedicated route message and not a priority. But we want to move this forward and learn how it can be used so we are going with this for now. OK deraadt
Diffstat (limited to 'sbin/route/route.c')
-rw-r--r--sbin/route/route.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index ee096ba0e95..23633a15b24 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.235 2019/10/27 12:44:17 krw Exp $ */
+/* $OpenBSD: route.c,v 1.236 2019/11/09 17:14:00 florian Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -1289,6 +1289,9 @@ print_rtmsg(struct rt_msghdr *rtm, int msglen)
case RTP_PROPOSAL_SLAAC:
printf("slaac");
break;
+ case RTP_PROPOSAL_SOLICIT:
+ printf("solicit");
+ break;
default:
printf("unknown");
break;