summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-08 15:40:44 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-08 15:40:44 +0000
commit7d301ed869dd9ff818e6f107d9853bd84d816a16 (patch)
tree6487ca8bd7999e3d71a62692fd1ed759eaaae866 /sbin
parent05aee7417cf300262cd518a0a26b90a6efb7dc60 (diff)
sync with reality, mostly from jmc
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dhclient/dhclient.leases.518
1 files changed, 16 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.leases.5 b/sbin/dhclient/dhclient.leases.5
index 2fbaac09f85..04d8cdee4bf 100644
--- a/sbin/dhclient/dhclient.leases.5
+++ b/sbin/dhclient/dhclient.leases.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dhclient.leases.5,v 1.1 2004/01/18 01:26:20 deraadt Exp $
+.\" $OpenBSD: dhclient.leases.5,v 1.2 2004/04/08 15:40:43 henning Exp $
.\"
.\" Copyright (c) 1997 The Internet Software Consortium.
.\" All rights reserved.
@@ -51,10 +51,24 @@ If more than one declaration appears for a given lease,
the last one in the file is used.
The file is written as a log, so this is not an unusual occurrence.
.Pp
+The lease file is named
+.Qq dhclient.leases.IFNAME ,
+where
+.Qq IFNAME
+represents the network interface the DHCP client acquired the lease on.
+For example, if
+.Xr dhclient 8
+is configured for the em0 network device,
+the lease file will be named
+.Qq dhclient.leases.em0 .
+.Pp
The format of the lease declarations is described in
.Xr dhclient.conf 5 .
.Sh FILES
-/var/db/dhclient.leases
+.Bl -tag -width "/var/db/dhclient.leases.IFNAME "
+.It /var/db/dhclient.leases.IFNAME
+Current lease file.
+.El
.Sh SEE ALSO
.Xr dhclient.conf 5 ,
.Xr dhcp-options 5 ,