summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/route/route.c5
-rw-r--r--sys/net/route.h3
2 files changed, 6 insertions, 2 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;
diff --git a/sys/net/route.h b/sys/net/route.h
index f116002d058..d338adddaa1 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.176 2019/06/21 17:11:42 mpi Exp $ */
+/* $OpenBSD: route.h,v 1.177 2019/11/09 17:14:01 florian Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -165,6 +165,7 @@ struct rtentry {
#define RTP_PROPOSAL_STATIC 57
#define RTP_PROPOSAL_DHCLIENT 58
#define RTP_PROPOSAL_SLAAC 59
+#define RTP_PROPOSAL_SOLICIT 60
#define RTP_MAX 63 /* maximum priority */
#define RTP_ANY 64 /* any of the above */
#define RTP_MASK 0x7f