aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-12-14 19:06:37 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-12-14 19:06:37 +0000
commit5be2baf8436ec3e2746f8ba0e9c61c420062953f (patch)
treec0119c5a9ce08aec208d2419f4e6c9c49abd43fb /sys/netinet/ip_input.c
parentc70b84bd3cec3968ebbdabe19c1c791a13477896 (diff)
Notes
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index d99a37a6a402..cb5ae5fddb83 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_input.c 8.2 (Berkeley) 1/4/94
- * $Id: ip_input.c,v 1.12 1994/12/12 17:20:53 ugen Exp $
+ * $Id: ip_input.c,v 1.13 1994/12/13 23:08:11 wollman Exp $
*/
#include <sys/param.h>
@@ -1194,6 +1194,8 @@ ip_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
void *newp;
size_t newlen;
{
+ extern int rtq_reallyold; /* XXX */
+
/* All sysctl names at this level are terminal. */
if (namelen != 1)
return (ENOTDIR);
@@ -1210,6 +1212,8 @@ ip_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
case IPCTL_DEFMTU:
return (sysctl_int(oldp, oldlenp, newp, newlen, &ip_mtu));
#endif
+ case IPCTL_RTEXPIRE:
+ return (sysctl_int(oldp, oldlenp, newp, newlen, &rtq_reallyold));
default:
return (EOPNOTSUPP);
}