diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2013-07-16 10:26:18 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2013-07-16 10:26:18 +0000 |
commit | 5bd91f4207d710aa5fc3c1e0113bd5fb6b9c716a (patch) | |
tree | 070ad45f450308b86e17b64e3aedcf890929a903 | |
parent | 4c47c0464f7083b43dde95155dbe566360e891a7 (diff) |
simplify some icky macros; from Jan Stary, tweaked by me
-rw-r--r-- | usr.sbin/dhcpd/dhcpd.conf.5 | 9 | ||||
-rw-r--r-- | usr.sbin/dhcpd/dhcpd.leases.5 | 16 |
2 files changed, 7 insertions, 18 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.conf.5 b/usr.sbin/dhcpd/dhcpd.conf.5 index 6aa7de9d413..9d7e960c93f 100644 --- a/usr.sbin/dhcpd/dhcpd.conf.5 +++ b/usr.sbin/dhcpd/dhcpd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dhcpd.conf.5,v 1.11 2012/09/26 16:19:45 jmc Exp $ +.\" $OpenBSD: dhcpd.conf.5,v 1.12 2013/07/16 10:26:17 jmc Exp $ .\" .\" Copyright (c) 1995, 1996, 1997, 1998, 1998, 1999 .\" The Internet Software Consortium. All rights reserved. @@ -36,7 +36,7 @@ .\" see ``http://www.isc.org/isc''. To learn more about Vixie .\" Enterprises, see ``http://www.vix.com''. .\" -.Dd $Mdocdate: September 26 2012 $ +.Dd $Mdocdate: July 16 2013 $ .Dt DHCPD.CONF 5 .Os .Sh NAME @@ -658,10 +658,7 @@ The .Ic fixed-address statement .Pp -.Xo -.Ic \ \&fixed-address Ar address -.Op , Ar address ... ; -.Xc +.D1 Ic fixed-address Ar address Op , Ar address ... ; .Pp The .Ic fixed-address diff --git a/usr.sbin/dhcpd/dhcpd.leases.5 b/usr.sbin/dhcpd/dhcpd.leases.5 index 446c701358e..296287fb139 100644 --- a/usr.sbin/dhcpd/dhcpd.leases.5 +++ b/usr.sbin/dhcpd/dhcpd.leases.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dhcpd.leases.5,v 1.7 2012/09/26 16:19:45 jmc Exp $ +.\" $OpenBSD: dhcpd.leases.5,v 1.8 2013/07/16 10:26:17 jmc Exp $ .\" .\" Copyright (c) 1997, 1998 The Internet Software Consortium. .\" All rights reserved. @@ -36,7 +36,7 @@ .\" see ``http://www.isc.org/isc''. To learn more about Vixie .\" Enterprises, see ``http://www.vix.com''. .\" -.Dd $Mdocdate: September 26 2012 $ +.Dd $Mdocdate: July 16 2013 $ .Dt DHCPD.LEASES 5 .Os .Sh NAME @@ -64,9 +64,7 @@ file is the .Ic lease declaration. .Pp -.Xo -.Ic \ \&lease Ar ip-address No { Ar statements... No } -.Xc +.D1 Ic lease Ar ip-address No { Ar statements... No } .Pp Each lease declaration includes the single IP address that has been leased to the client. @@ -81,13 +79,7 @@ and ``ends'' statements: .Pp Dates are specified as follows: .Pp -.Sm off -.Xo -.Ar \ \&weekday\ \&year No / Ar month -.Pf / Ar day\ \& hour No : -.Ar minute No : Ar second -.Xc -.Sm on +.D1 Ar weekday year Ns / Ns Ar month Ns / Ns Ar day hour : Ns Ar minute : Ns Ar second .Pp The weekday is present to make it easy for a human to tell when a lease expires \- it's specified as a number from zero to six, with zero |