diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-05-20 23:54:54 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-05-20 23:54:54 +0000 |
commit | 0d9b833993850ac45e91004eca447798dc7f4a93 (patch) | |
tree | f72d26b4aebb62782ed41a3c214460e79a97686f /sbin/dhclient | |
parent | 3943a8fe49bae42a889a56e67bfcd221b567cfd3 (diff) |
Remove no longer necessary RTLEN.
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/kroute.c | 5 | ||||
-rw-r--r-- | sbin/dhclient/privsep.h | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c index c6112cfce34..dd53554444d 100644 --- a/sbin/dhclient/kroute.c +++ b/sbin/dhclient/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.179 2020/05/20 23:47:23 krw Exp $ */ +/* $OpenBSD: kroute.c,v 1.180 2020/05/20 23:54:53 krw Exp $ */ /* * Copyright 2012 Kenneth R Westerback <krw@openbsd.org> @@ -483,8 +483,7 @@ set_routes(char *name, int index, int rdomain, int routefd, struct in_addr addr, in_addr_t addrnet, gatewaynet; unsigned int i, len; - if (rtstatic_len <= RTLEN) - flush_routes(index, routefd, rdomain, rtstatic, rtstatic_len, addr); + flush_routes(index, routefd, rdomain, rtstatic, rtstatic_len, addr); addrnet = addr.s_addr & addrmask.s_addr; diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h index 60ce463e127..de2d9a6448f 100644 --- a/sbin/dhclient/privsep.h +++ b/sbin/dhclient/privsep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.h,v 1.66 2020/05/20 19:13:34 krw Exp $ */ +/* $OpenBSD: privsep.h,v 1.67 2020/05/20 23:54:53 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -24,8 +24,6 @@ enum imsg_code { IMSG_TELL_UNWIND }; -#define RTLEN 128 - struct proposal { struct in_addr ifa; struct in_addr netmask; |