summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dispatch.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-08-31 17:01:49 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-08-31 17:01:49 +0000
commitc1058fe3886cd70bdc941486505e851c2872c02c (patch)
treebaa19273a25fd9a75e6ba07dc73cb0b42237eeba /sbin/dhclient/dispatch.c
parent3dab5a66cf90319fe2f9fd0d122841c1ee7e71dc (diff)
Don't delete v4 routes that are going to be
added back. ok mpi@
Diffstat (limited to 'sbin/dhclient/dispatch.c')
-rw-r--r--sbin/dhclient/dispatch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c
index ad2a2689fa3..cd0c5f982d3 100644
--- a/sbin/dhclient/dispatch.c
+++ b/sbin/dhclient/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.139 2017/08/13 17:57:32 krw Exp $ */
+/* $OpenBSD: dispatch.c,v 1.140 2017/08/31 17:01:48 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -47,6 +47,7 @@
#include <net/if.h>
#include <net/if_arp.h>
#include <net/if_media.h>
+#include <net/route.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>